Results 1 to 3 of 3
Aug 24, 2007, 11:38 #1
- Join Date
- Dec 2006
- 0 Post(s)
- 0 Thread(s)
Making a container div go all the way to the bottom like the body tag
How would I make a container div go all the way to the bottom of the page no matter if what is inside the div reaches the bottom or not?
Basically, I want to have a background colour that is 760px in width be the background of the container div, which is centered. Then, have the div go straight from top to the bottom of the page.
I know the body tag does this as I've tried to do this technique with a 1x760px image of the colour I wanted to use as a background and it shot down perfectly, however I need it to be a hex color so I can change it dynamically to whatever I please to whenever I want via the CMS I am building.
Here is what I am talking about to give a better understanding in case I may have not described it clearly: