Previous Message
Next Message

IE Clear Bug

Sent by Zoe M. Gillenwater on 14 October 2004 22:10


Adam Kuehn wrote:

> In this case, IE is correct, and Mozilla has the bug.  Strictly 
> according to the spec, and element set to clear should clear *all* 
> prior elements in the source, regardless of context.  Accordingly, 
> even though box 5 is a child of box 2, it is supposed to clear box 1. 
> You could try to set the position of box 2 to "relative".  This starts 
> a new positioning context, and may work to keep the internal clearing 
> element from clearing things outside that context.  As I recall, that 
> *doesn't* work, but it's worth a try.


Floating box 2 should work.  This should start a new positioning 
context, so box 5 will no longer pay attention to box 1.  Let us know if 
it works, Jeff.

Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu

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

Message thread:

Possibly related: