Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
11-01-2008, 12:49 AM #1
Getting BG color to stretch to content
It seems I am having a small issue. I am developing a theme and am having problems with my footer showing its background color when a height is not set.
You will se the #footer has a background image that repeats-x. If I dont set a height, then the background image does not show. If I do set a height, then when the content goes past the footer bg image, the bg color (#212121) does not show. Does this make sense?
Basically, when more content is added to the footer div, the BG color needs to be #212121, which is the bottom of my gradient, and I am having trouble getting it to work. If you add some more content or mess with it in firebug you will see what I mean.
11-01-2008, 01:42 AM #2
- Join Date
- Dec 2004
- In a place far, far away...
- Thanked 1,043 Times in 1,019 Posts
You need to clear your floats. This has been discussed time and time again. Please search for it in the forums.
11-01-2008, 01:49 AM #3