Forum Moderators: not2easy
So, I have something like this:
<div id="wrapper" style="height: 90%;">
<div id="content"> content here </div>
<div id="footer"> image here </div>
</div>
Right now, the footer just shows up directly below the content, but I want it to be attached to the end of the wrapper, that is...I want white space in between the content and the footer, not after the footer. Is this possible? If so, how?
Thanks! :)
Don't know if I've got this but you have two questions here?
1. the image as a footer background
2. making the content div fill the page even if there's not enough content. (make the whitespace appear before footer)
if so solving the 2nd problem will enable you to put the image into your footer div or make it a background to it as normal..
to solve the 2nd question you require to use a bit of a workaround using min-height which IE doesn't support, but it will happily do what you want by height..
see CSS Page height workaround [webmasterworld.com] thread.. it would also apply to making your content div a min-height, doesn't have to be 100%..
Is that what you're getting at? if not post again
Suzy
No suggestions so far have worked.