#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2008
    Posts
    41
    Rep Power
    11

    Little help with IE please.. Firefox si fine..


    First off, i'd like to say:

    So here's the code i'm screwin' with:

    ul.navlinks {
    font-weight: bold;
    background-color: #d7d7d7;
    margin: -5px -10px 0px -10px;
    padding: 0px 10px 1px 10px;
    border-bottom: 1px solid #2169AD;
    }

    Looks great in firefox (color fills the whole div) but in IE (i'm using 6.0), there's about 20 pixes to the right that arn't colored.

    Any suggestions?

    Thanks
  2. #2
  3. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,124
    Rep Power
    4309
    Try giving it position:relative
    Spreading knowledge, one newbie at a time.

    Learn CSS. | PHP includes | HTML Validator | CSS validator

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2008
    Posts
    41
    Rep Power
    11
    Okay.. i'll try that tonight and see how it goes. Thanks.
  6. #4
  7. No Profile Picture
    Permanently Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2008
    Posts
    31
    Rep Power
    0
    He is correct. If he isn't then try overflow:hidden;.

IMN logo majestic logo threadwatch logo seochat tools logo