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)

<quote>
Warning: Comments with grammar/ spelling mistakes or lacking in substance will be deleted automatically to ensure the quality of what's posted.
</quote>

Seeing the previous comments, this must be a joke.

#1: Henk van der Laak on 10/29 at 08:53 AM

can yoou change the background of my friendster

#2: junver on 11/08 at 01:29 AM

good

#3: kirk on 11/16 at 07:16 AM

its look preety good

#4: Eldrin on 11/17 at 08:01 PM

hey man if i gae you a url would you be a ble make one with that url becuse what ever i do it just doesnt work

#5: matt on 07/03 at 07:33 AM

i want to super script of the world which is use full in my web page ..!

#7: jiwan on 07/26 at 10:11 PM

thanks for your css knowledge.
<a href=http://www.qualifiedweblinks.com/links/Computers/Data_Formats/Style_Sheets>styl sheet</a>
i learned a lot about style sheets esspecially css and internet programming from your legendary web design related web site.

#8: styl sheet on 02/11 at 06:26 AM

Thanks for the suggestion. ;)

#9: youtube on 02/17 at 03:51 AM

its gud......
bt m nt able to view d images which i usually insert in d coding....
sm of thm r being shown bt others not .........
wtah should i do nw ..........
its quite imprtnt 4 me coz m designing sm pages for my firm ..
so plz do hlp..............

#10: Nova on 02/17 at 11:51 PM

PSD to HTML
Website Templates
PSD to XHTML
PSD to HTML

NewsUser
Privileges

Partners & ResourcesOur
Partners

All images and content copyright © 2004-2010 CSS Drive. Contact Info | Back to Top