Log in

View Full Version : coding for background wallpaper



merz
01-02-2007, 07:02 AM
Hello ! AM just new this and I need big help.. I'm trying to make background wallpaper using my pictures for my homepage. But everytime i put the code <body background="url.gif"> it show me little piece square of mine picture. I want the all thing one page of my page.. Can anyone help me the code and what should I do.. Thank you !!! Pleaseeeeeeeeeeeeeee Help...

Twey
01-02-2007, 12:08 PM
Use CSS:
<style type="text/css">
body {
background: navy url(url.gif) no-repeat center;
}
</style>Change navy to a colour that will work with your colour scheme if the picture can't be displayed.

The background attribute is deprecated. Make sure your site validates (http://validator.w3.org/) as HTML 4.01 Strict.