On Jan 27, 2010, at 1:27 PM, Laurie Landry wrote:

> http://cartierbaileystudio.com/2010/layoutnew.html
> 
> In firefox and safari (on Mac), it works fine, but when I do this test  
> in Windows IE 7, what happens is that the text that is in the blue- 
> green box overflows over to the next div section (see 
> http://cartierbaileystudio.com/2010/IE7Screenshot.jpg) 
> .
> 
> Ideally, the blue box should expand with the text, and the subsequent  
> div sections below it shifts down as needed.  Any idea what I need to  
> do to make this work?

You have one, or rather one-and-a-half problem.
You have locked the height of the blueish box (you've specified a height for 
#maincontent). When the text becomes larger, the box cannot grow.
Solution: don't specify a height, the box will adjust to the amount of text.

You need to contain the floated boxes inside #maincontent though (that's 
probably why you've specified that height).
Google 'containing floats' for explanations and various solutions.

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
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/

Reply via email to