Part 3
Formatting and Layout with CSS Styles
CSS is like CPR for web pages. It transforms colorless, lifeless web pages into dazzling, dynamic media—giving you full control over fonts and colors, enabling you to structure pages in columns, and providing you with the option to place content in boxes complete with colorful backgrounds, borders, and even drop-shadows. You do all this by creating style rules that apply formatting to the various HTML elements.
The chapters in Part 3 show you how to create CSS style rules and use selectors to apply those rules to specific elements. Chapter 10 gets you up to speed on the basics, and Chapter 11 shows you how to take a shortcut by starting with a CSS theme. The remaining chapters cover specific CSS ...

Get The Complete Idiot's Guide® To HTML5 and CSS3 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.