Treehouse: Grow your CSS skills. Land your dream job.

[Solved] unwanted padding and border in IE

  • # February 6, 2010 at 9:14 am


    I’m getting this unwanted padding of about 25px in my div where I’ve reset the padding to 0.
    I know this is an known issue in IE but I can’t seem to fix it. Could someone point me into the right direction, maybe a link to an article or tutorial or something.


    # February 6, 2010 at 10:34 am

    You don’t say which browser you are seeing this in? IE6 doubles padding and margin on floated elements. Maybe a link to your site would help troubleshoot the problem.

    # February 6, 2010 at 10:41 am

    nevermind, I fixed it, there was some comments above the doctype declaration that shouldn’t be there.
    the padding and border was on every version of IE btw.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.