Peter, If I understand you correctly, a quick test shows that all standards compliant browsers except for MacIE5.2 will flow around and under the floated item: http://www.browsercam.com/public.aspx?proj_id=43373
This can be fixed by removing the div around the content - is it needed? Russ > > There's a thing I don't understand about floats which perhaps someone > can enlighten me on: > > I have a div container with a background colour of red. > > Inside it is a content div with a bgcolour of green and a subnav div > with a bgcolour of blue. > The subnav div is set to float to the right of the content area. The > subnav is shorter than the content. > > Now, I would have thought, that the bgcolour of red would 'fill up' the > area below the subnav div to match the height of the content - merely > because both are contained within the red coloured div, which should > therefor expand to accommodate them both. > > This doesn't seem to be the case. What aren't I understanding? > > Thanks > Peter > > ***************************************************** > The discussion list for http://webstandardsgroup.org/ > ***************************************************** ***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
