[thelist] CSS: left nav and content area colours not filling to footer

Carl Edwards edwards at vitesse.com
Fri Jul 25 11:54:22 CDT 2003


> -----Original Message-----
> From: Sarah [mailto:poohbear at designshift.com]
> Sent: Friday, July 25, 2003 9:34 AM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] CSS: left nav and content area colours not
> filling to footer
> 
>  .
>  .
>  .
> 
> My understanding is that "height: 100%;" should force a div 
> to stretch to 
> the height of it's container, but this does not seem to work 
> - if it did, 
> then adding the background image to the container would not 
> be necessary. 
> Can anyone confirm or deny that this is how "height: 100%;" 
> is supposed to 
> work? 

If the container is the whole page try:

html, body {
  height: 100%;
  scroll: auto;
}

The effect this has is dependent on your DOCTYPE, it
all drove me crazy trying to achieve my look without
unnecessary scrollbars. 


/Carl Edwards


More information about the thelist mailing list