SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: List spacing

  1. #1
    SitePoint Zealot
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    List spacing

    Hi there, is there a way to make <li> have more than one line spacing? I have searched the web and not found anything, and I have also tried putting <p /> tags between the lines and that did not validate correctly.

    Any ideas?

    Anyone??

    Regards
    Graham

  2. #2
    SitePoint Evangelist
    Join Date
    Apr 2003
    Location
    Lexington, KY
    Posts
    437
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In your CSS sheet place the following:


    Code:
    li { padding-bottom: 8px; }

    -Michael

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you sir, feeling a little stupid that I did'nt figure that out myself!

  4. #4
    SitePoint Evangelist
    Join Date
    Apr 2003
    Location
    Lexington, KY
    Posts
    437
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problem, you're very welcome!



    -Michael


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
  •