To disable the underline on the anchor tag, follow these steps:
1. Open the CSS Styles panel by choosing Window ??? CSS Styles. The CSS Styles panel, shown in
Figure 10-2, displays existing styles and provides controls for creating and managing styles.
2. In the CSS Styles panel, click the New CSS Rule button. This action opens the New CSS Rule
dialog box.
3. Select the Tag option and choose the anchor tag, a, from the drop-down list. Finally, select Define
In This Document Only to create an internal CSS style sheet or choose an external style sheet
from the drop-down list. Click OK, and the CSS Style Definition dialog box opens.
You can also select the Advanced option rather than Tag and choose a:link from the dropdown
list. You can even employ the a:hover style, which enables text to change color or
style on rollover. You must, however, define the four CSS Selector styles in a particular order for them to
work correctly. Start by defining the a:link class and then proceed to define a:visited, a:hover, and
a:active, in that order. Note that you can preview only the a:link altered styles in Dreamweaver; to see
the other styles, you need to preview the page in a browser.
4. In the Style Definition window, make sure that the correct category is displayed by selecting Type
from the list of categories.
Pages:
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698