Abstract
The secret of good web design is drawing the visitor’s eyes to important parts of the page. Images, borders, and background colors all help to break up the page and focus attention. The images you inserted in the exercises in the previous chapter not only look attractive, they tell the visitor what the Grand Canyon looks like. But images can also serve another purpose—decorative touches that please the eye and give a unified look to the site. Rather than littering the HTML markup with purely decorative images, it’s preferable to add them as background. Although some HTML tags allow you to add background images, the options are very limited. CSS, on the other hand, gives you an amazing amount of control over the location and appearance of background images.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 David Powers
About this chapter
Cite this chapter
Powers, D. (2009). How Do I Add Backgrounds and Borders to Improve the Look of My Page?. In: Getting StartED with CSS. Apress. https://doi.org/10.1007/978-1-4302-2544-7_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2544-7_5
Publisher Name: Apress
Print ISBN: 978-1-4302-2543-0
Online ISBN: 978-1-4302-2544-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books