SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Margin below ol

  1. #1
    SitePoint Guru
    Join Date
    Nov 2000
    Posts
    740
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Margin below ol

    I have a numbered list of bulletpoints. After each bullet line, I would like a little more space.

    How do I do that?

    This is my failed attempt:

    Code:
    #content ol li {
        padding-bottom: 55px;
    }
    Thanks,

    Jon

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,120
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Hm, I'm surprised that didn't work. There may be something else going on here. Other options to try would be

    margin-bottom: 55px;

    or perhaps something like

    line-height: 55px;

    (as long as the LIs are one-liners).
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    We'd need to see more code to identify the issue. Do you perhaps have a live site we can look at? Or at the very least, full code (HTML and CSS) to replicate the issue on our end?
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


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
  •