* When assigning a background image to an element you add the following declaration block inside the CSS for that element: background-image:url(address);
* The image appears tiled across the area of that element, displaying from top left to bottom right.
* The background image will not effect the margins of the element.
* It's mostly good practise to specify a background colour as a back up in case your image doesn't load as no error message will be displayed, just a blank screen.
* We set an image as a background image in the style sheet if it is purely there for aesthetics.
* If the image relates to the content of the page then it should be embedded into the HTML document.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment