Ricangrl
10-20-2005, 08:44 PM
I need to know how to create a script for a background with an image, not having the image repeat itself on the background. I hope you understand what i am trying to say. :D :eek:
Thanks
ricangrl
Thanks
ricangrl
|
Click to See Complete Forum and Search --> : backgrounds Ricangrl 10-20-2005, 08:44 PM I need to know how to create a script for a background with an image, not having the image repeat itself on the background. I hope you understand what i am trying to say. :D :eek: Thanks ricangrl NogDog 10-20-2005, 09:49 PM Let's suppose you want a light blue background overall with your image centered in the background. Within the <head>...</head> section of your page include this style block: <style type="text/css"> body { background: #0000FF url("background.jpg") no-repeat 50% 50%; } </style> For lots more information and options, see http://www.w3.org/TR/CSS21/colors.html#q2 webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |