Beginning CSS3 pp 155-187 | Cite as

Adding Backgrounds

  • David Powers


The secret of good web design is drawing the visitor’s eyes to important parts of the page. Background colors and images help to break up the page and focus attention. Although some images are an important part of the page content, and need to be embedded in the HTML using <img> tags, others are simply decorative touches that should be added through CSS. Using CSS for background images not only keeps your HTML markup less cluttered and easier to maintain, but it also gives you a considerable amount of control over position and size.


Back Ground Background Color Background Image Modern Browser Gradient Background 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© David Powers 2012

Authors and Affiliations

  • David Powers

There are no affiliations available

Personalised recommendations