Chapter 1: Styling Text with CSS
In This Chapter
Understanding modern web design
Creating a CSS document
Defining colors for the web
Setting CSS text properties
Creating styles for a link state
Nesting and grouping styles
Using templates
In Book III, Chapter 2, we break down the role of HTML documents — the basic foundation for web pages. But an HTML page without a style sheet is like a model without a wardrobe. Like a football player without helmet, jersey, and pads. Like a mime without face paint. Like a sumo wrestler without . . .okay, we’ve gone far enough with analogies here. But they illustrate the relationship between HTML and CSS. Without CSS, web pages have no style.
This chapter shows you how to create a cascading style sheet (CSS) file that defines the style and layout of ...