8.13. Format a Table with CSS

Although you can use table attributes to adjust the formatting and alignment of tables and table cells, as shown earlier in this chapter, you can also create styles to format a table.

Cascading style sheets offer many advantages. Although working with styles is more complex at first, using styles instead of table attributes creates cleaner, more efficient code and makes it easier to change the table formatting later.

Format a Table with CSS

Click Format.

Click CSS Styles.

Click New.

The New CSS Rule dialog box ...

Get Teach Yourself Visually™ Adobe® Dreamweaver® CS5 now with O’Reilly online learning.

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