SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Quality not quantity. bo5ton's Avatar
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    654
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Multiple Indenting

    I have a table... 2 Rows, 1 Column..
    The first row has a pic, the second, text and so on...
    The test tho is too close to the left side, and i don't want it centered because that will be too far... so i need maybe a 5px indent right, but for all lines of text. I could apply the {text-indent: 5px} to a class and set that to each line, but i was wondering if there was an easier way to do it?

    Thanks

    Bo5ton

  2. #2
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by bo5ton
    I have a table... 2 Rows, 1 Column..
    The first row has a pic, the second, text and so on...
    The test tho is too close to the left side, and i don't want it centered because that will be too far... so i need maybe a 5px indent right, but for all lines of text. I could apply the {text-indent: 5px} to a class and set that to each line, but i was wondering if there was an easier way to do it?

    Thanks

    Bo5ton
    I would use padding. I think text-indent is mainly for in-line elements and you are describing a box element problem.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  3. #3
    Quality not quantity. bo5ton's Avatar
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    654
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    oh ok, padding sounds good, I shall try that...

  4. #4
    Quality not quantity. bo5ton's Avatar
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    654
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    It worked! Thank you! It's really quite simple now that i think about it... didn't really read w3schools well enough... it'll get thru soon i'm sure
    Thanks again.

    Bo5ton


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •