The following html redeners inconsistently in IE6/7 and Firefox,'

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html>
  <head>
    <title>Spacing</title>
  </head>

  <body>
    <div 
style="display:block;margin:0;padding:0;float:left;background-color:yellow;">Floated
item</div>
    <h1 style="position:relative;clear:both;margin:0;padding:5px 0 0
0;background-color:#EEEEEE;border:solid 1px #888888;">Edit it</h1>
  </body>
</html>

The 5px top padding on the h1 tag is larger in IE than in Firefox if
the float tag specified on the div above.  Any help with this issue
would greatly be appreciated.

-- 
Cheers,
Aeden
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to