On 03/03/06, Steve Frost <[EMAIL PROTECTED]> wrote: > > The photo is floated to the left, and the div in which it sits inside is > set to 100% height, however when viewed in 800 * 600, the div does not > expand when you scroll down. > > Anybody got any ideas what could be causing this? It works fine in IE.
That's probably because IE is getting it wrong :) You need to tell standards compliant browsers that the need to enclose any floated content. The easiest method I have found is to give the div a defined width, and set overflow to hidden, eg: div { width: 100%; overflow: hidden; } More on the subject at http://www.quirksmode.org/css/clearing.html Cheers, -- Olly http://thinkdrastic.net/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/