SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    Maryland, USA
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Spacing in lists

    Is there a hack to set spacing between items in a list in NN 4.7x ? I read http://www.alistapart.com/articles/taminglists/ and while it works fine in IE, no joy in NN 4.7x

    TIA
    Michael Hatch

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by mrhatch
    Is there a hack to set spacing between items in a list in NN 4.7x ? I read http://www.alistapart.com/articles/taminglists/ and while it works fine in IE, no joy in NN 4.7x

    TIA
    Michael Hatch
    The only way I could think of to get spacing in lists is to a) wrap your list text in a <p> tag, or b) add a <br /> or two after your list text, but before the closing </li> tag. Neither solution is optimal, but if you have to support NN 4.7 then nothing really is optimal anyway .

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,295
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    I don't usually bother with NN 4.7 so I don't really have any useful advice but if you are talking abou the vertical spacing between the list items I believe that you can add padding to space the lists further apart.

    Code:
    ul {list-style-type:none}
    li {padding:10px 0px;}
    That's about my limit of knowledge on NN4.7 I'm afraid

    Paul

  4. #4
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    Maryland, USA
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Paul. That worked great


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
  •