View Full Version : Question about the CSS involved in this?

07-17-2008, 07:15 PM
Hello All,

I stumbled across this page on CSS Zen Garden: http://www.csszengarden.com/?cssfile=213/213.css

And was wondering how the designer was able to keep those images at the bottom of the page fixed on the bottom and how he/she was able to make them sit on top of the rest of the page's content.

I contaced the designer about a month ago and he/she has yet to respond.

Any help would be greatly appreciated!

Thank you very much in advance,

07-17-2008, 07:25 PM
#extraDiv2 {
background-image: url(bottom.png);
background-repeat: no-repeat;
background-position: center;
height: 200px;
width: 100%;
position: fixed;
bottom: 0px;
z-index: 5;

Thats the actual code, they just fixed an image at the bottom, i like that effect!

07-17-2008, 07:50 PM
Wow, thanks a million! I don't understand why I didn't just download the CSS to begin with... Stupid me!!!

It is a great effect, isn't it?

07-17-2008, 07:52 PM
Yeah, unfortunately it can be ugly also if not used correctly, but in this case it is very well done.