I worked with a solution for storing images on the bottom page. The code I got currently:
.footer { background-image: url('images/footer.png'); background-repeat: repeat-x; position: absolute; height: 950px; width: 100%; z-index: -101; bottom: 0; }
However, this has problems. What I intend is a background that sticks to the bottom and is displayed behind everything else (hence the low z index). I have the following code for the top (there is middle, just the color of the block and just added to the body):
.background { position: absolute; top: 0; width: 100%; height: 600px; background-image: url('images/sky.png'); background-position: center; background-repeat: repeat-x; z-index: -100; }
Please note: the first part does not work (it is not at the bottom), but the second part (at the top).
If you want to visit the site, do not hesitate: www.duffydesigns.co.uk/brough (Please do not judge, this is a work in progress, nothing is really finished!).
Thanks for the help,
Joseph Duffy
Note. As I am sure, you can understand, the upper part is the sky, below - grass and trees.
Joseph Duffy
source share