SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2009
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    strange ul spacing in webkit

    http://whatisdamon.com/blog/?p=28

    in the comment section, the numbers leave a gap before the actual content in webkit browsers, but not in firefox.. anyone know why that'd be.

    I also notice that safari is ignoring the "h1, h1 a, h1 a:hover, h1 a:visited {" declaration and still giving the link color to the h1, but it works in other browsers.. know why that might be?

    thanks!

  2. #2
    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)
    I'm a bit confused . Safari looks the same as the rest. What version are you using?

    Clear your cache to make sure it isn't an old version of hte page. The declaration is working from what I'm seeing in all browsers.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

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

    The gap is caused by this rule:
    Code:
    .commentlist li:before {
        content: "";
        content: none;
    }
    There is no value called "none" for the property content.

    Either remove the whole rule or set it to display:none.

  4. #4
    SitePoint Zealot
    Join Date
    Feb 2009
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i thought it was something with the li:before.. i had changed in to content: "" and it was stilla problem, but I tried display:none on that rule like you said (didn't realize it would apply to a pseudo class like that) and it now works. thanks a lot!


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
  •