I’m working on a site, and it’s pretty much done.
I’m trying to have the hills at the bottom of the page, which is currently working. I’m trying to get the footer at the bottom of the hills, but it goes at the bottom of the viewport. I’m using the usual position: absolute; bottom: 0;.
Theses are the main issues. I’d also like for the text to not go over the hills, since it makes it hard to read. The only way I can do this is making the footer bigger, or a filler between the footer and the main test area.
I can get all these working, but only on their own, not all together.
I wont post any specific code, since there’s a lot of it, so if you can help visit http://www.helpusplan.co.uk.
Thanks for any help
I’m working on a site, and it’s pretty much done. I’m trying to have
Share
I’m fairly certain your problem is that you have your hills image attached to the
bodyof your document. Attach it instead to thefooter(I mean, come on, you already named the imagefooter.png) and place all your footer text in a child div that is positionedrelativewith respect to the top of the footer div. The height of the footer div should be no smaller than the height of the background image.Something like:
and
Oh, and for heaven’s sake. Do not
position: absoluteyour footer. That’s just nuts.