Scott Povlot wrote: > I hope that someone can explain to me what is happening in this case. > The paragraph with the yellow background should be pushed over by the > float. The text in it is moved over due to the float. But the > yellow background still continues behind the float box. I think that > the background and border should be moved by the float.
You're wrong, I'm afraid. Floats by default only move content in nearby elements out of the way, not the elements themselves. More flexible that way, and according to spec. > http://test.nmra.org/education/achievement/def.html You have to _isolate_ the element to make it react on the float, for example by adding... .note {overflow: hidden;} * html .note {overflow: visible; height: 1%;} See... <http://www.gunlaug.no/contents/wd_example_01_02.html> ...for more on the subject. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
