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

Chapter 14. Setting up Style Sheets > Defining Styles for Links

Defining Styles for Links

If you don't like underlined links, you can change the background and foreground color of your links to make them stand out without looking so ugly. Link styles have a special syntax.

To define styles for links:

1.
Type A:.

2.
Typelink to change the appearance of links that haven't yet been or currently aren't being clicked or pointed at.

Or typevisited to change the appearance of links that the visitor has already clicked.

Or typeactive to change the appearance of links when clicked.

Or typehover to change the appearance of links when pointed to.

3.
Type a curly bracket { to begin the definitions.

4.
Type property:value to specify how the links should look. You might try changing the color (see page 265), the background color (see page 266), and the underlining (see page 270).

5.
If desired, type a semicolon ; and then specify additional properties and values.

6.
Type a right curly bracket } to complete the link definition.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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