Hi there piramyd,
and a warm welcome to these forums. 
IE7 will display a 1px by 1px div if the document has a full dtd.
IE6 will not play ball at all with the div but will show a 1px by 1px border as this example will show...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<style type="text/css">
div{
font-size:1px;
width:1px;
height:1px;
background-color:#35f;
}
</style>
<!--[if IE 6]>
<style type="text/css">
div{
background-color:transparent;
border-bottom:1px solid #35f;
}
</style>
<![endif]-->
</head>
<body>
<div></div>
</body>
</html>
coothead
Bookmarks