Say you want to put an image or two on a webpage. One way is to use the background-image CSS property. This property applies one or more background images to an element, like a <div>, as the documentation explains. Use it for aesthetic reaso
Here is the code example of adding the background image to a div: background-image:url(navigation_bg.gif); The above code is used to add the background image named navigation_bg.gif to the said div.
The background-image property sets one or more background images for an element. By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally. Tip: The background of an element is the total s
Post a Comment:
Showing 0 Comments: