main content wrapper div get's pushed down the page in IE
Posted
by Blankman
on Stack Overflow
See other posts from Stack Overflow
or by Blankman
Published on 2010-04-05T14:19:08Z
Indexed on
2010/04/05
14:23 UTC
Read the original article
Hit count: 256
I have a 2 column layout, with the left side for navigation and the right side for the main content.
The right side content has a wrapper div that looks like:
Now this looks fine in FF and GC, and it IE but if I change the padding to anything over 4px that section gets pushed down below the left navigation.
#content
{
padding:3px; // 4 makes it get pushed down
}
Does this mean IE has a different way of calculating the width of all my elements? Is this a common problem that has a solution for it?
© Stack Overflow or respective owner