Previous Message
Next Message

Clearing floats

Sent by Stan on 28 March 2004 04:04


Hi. I'm working on
http://www.salemobserver.com/Templates/css-3col-layout.aspx and trying
to get a div in the header to work properly. If you keep refreshing the
page, you will notice that there are two advertisements in rotation. One
is 468x60 and the other is 728x90. I want the CSS to determine whether
the 728-sized ad to push the logo down, while the 468-sized ad is snug
neatly to the right of the logo.

Now get this. MSIE6 Win does this perfectly for me. But MSIE5.1 Mac
doesn't: the adBanner div floats underneath the logo. The same goes for
Moz Firefox 0.8 on Windows and, according to an iCapture page on the
Net, Safari as well. I have no access to other browsers.

The css file has the adBanner div as a right-aligned float. The div is
located directly before the logo (H2 block element with
FIR-enhancement). 

According to the CSS-2 float specifications at w3c.org, it seems to me
that MSIE6 Win is erroneously displaying the float when its contents are
728 pixels. So what would be the best way to do this for more compatible
browsers (and still let MSIE6 work, too)?

Any ideas would be helpful. Thank you.


STAN






______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: