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 03:53 PM

can yoou change the background of my friendster

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

good

#3: kirk on 11/16 at 02:16 PM

its look preety good

#4: Eldrin on 11/18 at 03:01 AM

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 01:33 PM

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

#7: jiwan on 07/27 at 04:11 AM

thanks for your css knowledge.
<a >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 01:26 PM

Thanks for the suggestion. ;)

#9: youtube on 02/17 at 10: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/18 at 06:51 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