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 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.