[thelist] IE6 whitespace

italPASTA italPASTA at takas.lt
Fri Jun 18 09:56:08 CDT 2004

I'm coding a page header consisting of two elements - floating and
non-floating. Opera 7.5, Mozilla 1.6 and Mozilla Firefox 0.8 display it
correctly (at least I think so:), but IE6 puts some whitespace between these
two elements. Incresing/decreasing padding or margins doesn't seem to help.
What am I doing wrong?

Thanks in advance.

<div id="container">
    <div id="logo"><img src="something.png" alt="something" width="100"
height="63" /></div>
    <div id="banner">
      <iframe src="something" height="60" width="468" scrolling="no"
frameborder="0" marginwidth="0" marginheight="0">
      <script language="javascript" src="something"

#logo {float: left; width: 160px; padding: 6px;}
#banner {padding: 6px 27px 6px 6px;	margin-left: 166px; height: 63px;}


More information about the thelist mailing list