• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 3. Creating Links > Specifying Link Colors

Specifying Link Colors

You can choose to specify the default color of text links on your page in order to match the colors used most in your document. These colors should contrast with the background enough to read clearly. Browsers will display the colors you set for links unless the option to override a page's colors is checked in the user's browser preferences. You will use the same dialog box to choose these colors as you used when selecting the default text color in Lesson 1.

1.
) Open the welcome.htm document, located in the Lesson_03_Links folder. Choose Modify > Page Properties to open the Page Properties dialog box, and then click the color box next to the link state you want to change.

There are three link states. Links is the initial color a user sees before clicking the link. The normal default browser color for a link is blue. Visited Links is the color a link changes to when a user clicks the link. The normal default browser color for a visited link is purple. Active Links is the color to which a link turns if a user holds down the mouse button after clicking the link. The normal default browser color for an active link is red. Some pages use the same color for Active Links as they do for Links.

2.
Using the text boxes next to the color boxes, select the colors for your links by typing in #996600 for the Links color, #996600 for the Active Link color, and #999966 for the Visited Links color.

When you know the hexadecimal values of your colors, you can enter the numbers directly in these text boxes. Dreamweaver automatically fills in the color box with the matching color swatch. On the other hand, if you choose a color swatch from the color picker, Dreamweaver automatically fills in the text box with the hexadecimal value. You can click the color box to bring up the color picker, as you did in Lesson 1, and the hexadecimal value will be displayed at the top of the color picker as you roll over the color swatches.

3.
Click OK to close the Page Properties dialog box, return to your document, and save the file.

The default link colors for your page are now the colors you specified. You will see the colors after you begin to create links. Keep this document, welcome.htm, open. It contains all the text and graphics you will need to create links in the following exercises.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint