Laura Greenwood wrote:

>http://ciswebs.smc.edu/cis51/greenwood_laura_lee/temp/index.htm
>
>Also, I have not been able to figure out the mystery of the
>background. It seems that the #main controls the background. However
>long #main is, the background will be that long. If the #left is
>longer, the grid background will still end wherever #main ends. But
>interesting, the background image is behind both #left and #main like
>I wanted it.
>  
>

Hi Laura,

As I've mentioned to you before, you need to contain your floats.  The 
background is on the #content div (you have an awful lot of containing 
divs, but that's another story).  #left is floated left, but there is 
nothing on or in #content telling it to contain the floated #left div.  
Floats are removed from the flow, so it is correct for #content to let 
it hang out if it longer than #main.

Please read these articles:
http://www.complexspiral.com/publications/containing-floats/
http://www.positioniseverything.net/easyclearing.html

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to