Hi all,
i have problems using div containers including graphics.
Here is the example:
<HTML>
<HEAD>
<style type="text/css"><!--
#pic {
position:absolute;
left:450px; top:350px; width:300px; height:143px;
background-color:#efefef;"
}
// --></style>
</HEAD>
<div id=pic>
</div>
</HTML>
The div container has exactly the same height as the picute loaded into it.
Nevertheless, MSIE shows a small (2-3 px) border in teh background color at the bottom of the picture. Mozilla shows everything right.
Could someone give some hints?
Tnx
Norbert
MSIE enlarges div containers
Suprisingly, a similar problem to [url=http://www.csscreator.com/css-node/51 thread about the <li> tag[/url]
Setting your code out as follows:
<div id=pic><img...></div>
removes the problem. IE does like to print whitespace wherever it can!