O'Reilly logo

Adobe by David Karlins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter Seven. Formatting Page Elements with CSS

In Chapter 4, “Designing Pages with Absolute Placement Objects,” and in Chapter 5, “Working with Text and Images,” 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

Before you dive into formatting with CSS, a note of caution: Don’t rely on CSS styles to make your page readable in a browser. You should ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required