By default, the image is repeated so it covers the entire element.
For Example:
body {background-image:url(yourimagename.gif');}
body {background-image:url(yourimagename.gif');}
Note: You could use another extension such as: jpg, or png. And, please consider the size of the image since it can make your page load slowly.

1 comment:
Actually I'm playing with html tags and I was looking for this code 'cause I can write and put tittles and comment box on my test web page but I didn't know how to put a simple background... Thanks for sharing.
Post a Comment