Chapter 11. Formatting Page Elements with CSS

In Chapter 7, “Page Layout with CSS Layers,” and Chapter 8 “Formatting Text,” I explained how to use CSS (Cascading Style Sheets) for page design and text formatting. Beyond controlling page positioning and text format, you can use CSS to format almost any element on a page.

You can use CSS to format:

  • Body tags that define pagewide formatting, such as page background, margins, and default font color, type, and size.

  • HTML tags ranging from images to tables.

  • Links with special attributes.

  • Special printable page formatting.

Formatting Page Elements with Style Sheets

Large, professional Web sites are formatted with external style sheets. External style sheets are files that define formatting for an unlimited ...

Get Macromedia Dreamweaver 8 How-Tos: 100 Essential Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.