Inserting space beside text

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yeah

    Inserting space beside text

    I would like to use CSS to insert x amount of space to the left of a
    repeating blurb of text (coded with a CSS SPAN tag).

    How would I go about doing that?


  • Mark Parnell

    #2
    Re: Inserting space beside text

    Deciding to do something for the good of humanity, Yeah
    <yeah@positive. net> declared in
    comp.infosystem s.www.authoring.stylesheets:
    [color=blue]
    > I would like to use CSS to insert x amount of space to the left of a
    > repeating blurb of text (coded with a CSS SPAN tag).[/color]

    padding-left: 0.5em;

    --
    Mark Parnell
    My Usenet is improved; yours could be too:

    Comment

    • ironcorona

      #3
      Re: Inserting space beside text

      Mark Parnell wrote:[color=blue]
      > Deciding to do something for the good of humanity, Yeah
      > <yeah@positive. net> declared in
      > comp.infosystem s.www.authoring.stylesheets:
      >[color=green]
      >> I would like to use CSS to insert x amount of space to the left of a
      >> repeating blurb of text (coded with a CSS SPAN tag).[/color]
      >
      > padding-left: 0.5em;[/color]

      or of course

      margin-left: 0.5em;


      --
      ironcorona

      Comment

      • Mark Parnell

        #4
        Re: Inserting space beside text

        Deciding to do something for the good of humanity, ironcorona
        <iron.corona@gm ail.com> declared in
        comp.infosystem s.www.authoring.stylesheets:
        [color=blue]
        > margin-left: 0.5em;[/color]

        For some reason I was thinking that margin didn't apply to inline
        elements, but the specs say otherwise.

        --
        Mark Parnell
        My Usenet is improved; yours could be too:

        Comment

        Working...