Is it a CSS rule (sent to annoy me) that if you clear an element inside a container, it will clear any floated elements outside that container?
the horrible brown div should clear the green and red ones, so sit snugly under the green one, but it's jumping under the annoying purple one, just because it's floated. is there any way i can clear:inherit,left or something so that it ignores floats outside its container div? failing that there's going to be some ugly inline styling that i'd rather avoid!
thank you

the horrible brown div should clear the green and red ones, so sit snugly under the green one, but it's jumping under the annoying purple one, just because it's floated. is there any way i can clear:inherit,left or something so that it ignores floats outside its container div? failing that there's going to be some ugly inline styling that i'd rather avoid!
thank you
