chr2010
01-15-2010, 11:11 PM
Hi to all,
I created a layer and filled it with color. I changed the size to 500 pixels in width x 10 pixels in height. This creates a long, thin colored rectangle.
when I open the HTML document in Firefox, the layer is correctly displayed exactly 10 pixels in height. However, when I open the HTML with Internet Explorer the layer is 19 pixels in height.
Here is a copy of the HTML coding that contains the layer:
------------------------------------------------------------------------------------------------------------
<html>
<head>
<title> No title</title>
<meta name="">
</head>
<body>
<div id="layer1" style="background-color:red; width:500px; height:10px; position:absolute; left:20px; top:57px; z-index:1;"></div>
<p> </p>
</body>
</html>
------------------------------------------------------------------------------------------------------------
Thanks a lot,
Chris
I created a layer and filled it with color. I changed the size to 500 pixels in width x 10 pixels in height. This creates a long, thin colored rectangle.
when I open the HTML document in Firefox, the layer is correctly displayed exactly 10 pixels in height. However, when I open the HTML with Internet Explorer the layer is 19 pixels in height.
Here is a copy of the HTML coding that contains the layer:
------------------------------------------------------------------------------------------------------------
<html>
<head>
<title> No title</title>
<meta name="">
</head>
<body>
<div id="layer1" style="background-color:red; width:500px; height:10px; position:absolute; left:20px; top:57px; z-index:1;"></div>
<p> </p>
</body>
</html>
------------------------------------------------------------------------------------------------------------
Thanks a lot,
Chris