...

View Full Version : div layers?



ClockworkSpence
02-09-2012, 01:20 PM
Hi,

I've been making a site that needed a footer that stretched to the bottom of the browser. I achieved it by telling the div to start at the bottom of the screen and stretch up to the div (artwork) at the top. The problem is is that when the content exceeds the height of the top div (say my div is 600px but the content goes to 620px) the footer div masks the extra content?
Is there a way of telling the footer div to sit behind the div above it?



Spence

VIPStephan
02-09-2012, 02:27 PM
Apply a bottom margin or padding to the content div as much as the footer is high.

ClockworkSpence
02-09-2012, 03:46 PM
Thanks for your reply...unfortunately this doesn't seem to do anything...the footer still obscures the content?

ClockworkSpence
02-09-2012, 03:55 PM
Here is a url to the test site in question. You'll see when you reduce the browser that the scroll bar to the side appears and you can reveal the rest of the text hidden by the footer div?

http://www.clockworkpecan.co.uk/Apron/home.html

Spence



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum