Two columns Three columns Mixed cols and rows Gallery Archives Clean & Clear Dark or Black High Contrast/ Impact Blog Designs New Corporate/ Professional Unconventional Designs Liquid layouts Web Design Firms Our Favorites What's Popular Last 20 submissions
Horizontal Menus Vertical Menus Multiple/ Nested Levels

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 (25)

<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 10:53 AM

can yoou change the background of my friendster

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

good

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

its look preety good

#4: Eldrin on 11/17 at 10: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 09:33 AM

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

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

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 08:26 AM

Thanks for the suggestion. ;)

#9: youtube on 02/17 at 05: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 01:51 AM

Post a Comment: Guest (Login or Register)

Name: (Required)

Email: (Required)

(NOT shown on page)

URL:

(Shown on page if entered)

Comments: (Required)

Remember my personal information
Notify me of follow-up comments?

Submit the word you see below:


CSS Forums

CSS Forums: latest threads Last Post Info
CSS code coloring (2) 07/05/2008 03:57 am
By: Jen0608
Nested Lists and display: (2) 07/04/2008 02:31 pm
By: vishwebdesign
List your resource websites! (1) 07/03/2008 07:17 pm
By: newyoda
Free Wordpress Theme Heaven (1) 07/03/2008 11:08 am
By: topwpsites
Free Wordpress Theme Purple Butterfly (1) 07/02/2008 04:05 pm
By: topwpsites

Last Comments: