...

View Full Version : IE 6 extra image padding



skixc
09-18-2006, 12:23 PM
Hi - Here is a link to a very simple webpage (stripped out all other content to clearly illustrate the problem). In IE6 there is a space between the header image and the red line image. I have tried everything to get rid of it. Any help would be greatly appreciated.

Http://www.cricketcreekfarm.com/newsite/test.php

code:

<html>
<head>
<title>CCF</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/strict.dtd">
</head>
<body class="body" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<img src="images/header-1.jpg" width="626" height="276" alt="Cricket Creek Farm" border="0"><img src="images/red-bar.gif" width="750" height="5" border="0">
</body>
</html>

BonRouge
09-18-2006, 03:30 PM
img {
display:block;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum