Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Smile Question about the CSS involved in this?

    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,
    Frank

  • #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    Code:
    #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!

  • Users who have thanked jcdevelopment for this post:

    FADiJohn (07-17-2008)

  • #3
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    7
    Thanked 0 Times in 0 Posts
    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?

  • #4
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    Yeah, unfortunately it can be ugly also if not used correctly, but in this case it is very well done.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •