November 2011
Beginner
992 pages
38h
English
Fashions fade, style is eternal.
—Yves Saint Laurent
How liberating to work in the margins, outside a central perception.
—Don DeLillo
Objectives
In this chapter you’ll:
• Control a website’s appearance with style sheets.
• Use a style sheet to give all the pages of a website the same look and feel.
• Use the class attribute to apply styles.
• Specify the precise font, size, color and other properties of displayed text.
• Specify element backgrounds and colors.
• Understand the box model and how to control margins, borders and padding.
• Use style sheets to separate presentation from content.
Outline
Read now
Unlock full access