|
The background-image property sets a picture as the background of a tag. You specify the URL of the picture in parentheses: {background-image: url(http://www.mysite.com/back.gif);} In Internet Explorer, you can use backgrounds on any tag. So you could put a picture behind a paragraph: h1 {background-image: url(http://www.mysite.com/back.gif);} You can also use the other background properties to make the picture tile or repeat. This means you can create special effects with background pictures. If you use a background picture, you should set a background colour that the browser uses if the picture is not available or if users choose not to load pictures. |
More information Background colours and pictures background-image |