Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkarinne
    • CommentTimeFeb 1st 2006 edited
     permalink
    This is a new site for a new client. I've noticed for a while that it's been slightly "off" in IE? Seems like IE is adding 1px in my header?!

    http://www.counseling-adoption.qc.ca/new-index.php

    I've looked at the code for too long and can't figure out how to fix it.

    Anyone?
  1.  permalink
    I didn't give all of the code a thorough debugging, but this may work:

    Try adding the following to your CSS

    #header {
    background: url(/i/top-bg.jpg) #fff no-repeat center;
    height: 318px;
    width: 740px;
    text-align: left;
    _margin-left: 1px;
    }

    The underscore hack applied to the margin-left will only apply to IE browsers and should hopefully push the entire header over just one pixel in order to get things lined up.

    Again, I haven't tested it, but it's worth a try.
    • CommentAuthorkarinne
    • CommentTimeFeb 1st 2006
     permalink
    Ah! It worked! Finally someone who was able to help me ;)

    Thank you so much!
Add your comments
    Username Password
  • Format comments as (Help)