View Single Post
Old 12-28-2012, 06:07 PM   PM User | #1
operapixie
Regular Coder

 
Join Date: Nov 2011
Posts: 129
Thanks: 11
Thanked 0 Times in 0 Posts
operapixie can only hope to improve
Question Container div to height of content?

Hi there,
I'm working on a new template for a client, and I want the main body of the page to have a drop shadow, but of course it's difficult to set drop shadows for just certain sides of a div. So I decided to create a container div that would have the shadows. The problem I'm running in to is that without setting the "body,html" to 100%, the container only stretches down a little ways. BUT, with that "body,html" set to 100%, it stretches far past where I need it to be.

http://dev.yourbusybee.com/kaleco/te...lecoindex.html

I WANT it to be going to just above the copyright notice, right at the edge of the tiled footer background. I thought that was where I'd set the closed div for that container, but that's not where it's stopping.

Help?

~Laura

Last edited by operapixie; 12-28-2012 at 06:41 PM.. Reason: Removed P.S.'s
operapixie is offline   Reply With Quote