IE8 div inside a div inside a div = white space.
I just love this about making a new site. Well here's the problem ive been struggling for the last hour.
In FF everything works as it should, ofcourse. IE8 adds about 10 pixels of space on top of the text. Here is the html:
<div id="main"> <!--div main starts-->
<div id="content"> <!--div content starts-->
<div id="insidecontent"> <!--div insidecontent starts-->
Text blablabla
</div> <!--div insidecontent ends-->
</div> <!--div content ends-->
</div> <!--div main ends-->
All divs in the css have:
margin: 0px;
padding: 0px;
So why does IE8 add this white space to the top of the text? When i put text in the first and second div there is no white space at all, but in the third div there is.
|