Creating a Hyperlink Rollover

The third type of style is a CSS Selector. This type of style redefines a group of HTML tags instead of just one. For instance, you could define what a specific heading tag looks like only within a table cell by entering the table cell tag, <td>, and then the paragraph tag, <p>. To do this, you enter all of the tag names in the Selector box, as shown in Figure 15.9, and then define the style.

Figure 15.9. You can define attributes for multiple HTML tags with CSS Selector styles in the New Style dialog box.

Creating hyperlink rollovers is a common and fun use of CSS Selector styles. These CSS Selector styles redefine ...

Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours 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.