Home

CSS Examples Fixed and centered background image

Date: 09/06/2004 Fixed and centered background image

Author: CSS Drive

This example demonstrates using CSS to create a watermark background image for the page, whereby the image is centered and non repeating.

Example: n/a.

CSS Source Code:

<style type="text/css">

body{
background: url(background.gif) white center no-repeat fixed;
}

</style>

Comments (26)

I liked it. I wanted to implement. Thanks for posting.
http://www.vacationrentalhotspots.com

#1: Joe on 06/04 at 11:41 AM

thanks for this very great info pal, :D

css background examples , Properties , Attribute - - css-lessons.ucoz.com/background-css-examples.htm

#3: e devlet on 06/17 at 05:23 AM

css background examples , Properties , Attribute - - http://css-lessons.ucoz.com/background-css-examples.htm

#4: e devlet on 06/17 at 06:36 AM

@Doyox- You don't have to have the cursor file in the same location.

@pinkpanther- here's the syntax to use on your profile: Myspace Mouse Cursors

#5: Jerry on 06/24 at 12:02 AM

this is very useful for my freindster.

#6: Joey Brown on 07/31 at 02:46 AM
Commenting is not available in this weblog entry.


Partners & ResourcesOur
Partners


CSS Forums News

Dynamic Drive forums | Register

The Latest Comments

All images and content copyright © 2017 CSS Drive. Contact Info | Back to Top
Affiliate Discloser: We receive a commission from purchases through some links on this site