Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

19 Creating HTML links > 19.2 Specifying link appearance > 19.2.2 Specifying link class


19.2.2 Specifying link class

To give some of the links in your document an appearance different from that produced by the “a:” class properties specified in CSS or the default browser settings, you can name and define other CSS classes, and apply them selectively to the links in your document.

For example, suppose you want certain links to be red except when the mouse hovers over them, when they should change to green underlined. In CSS you might define link class traffic:

a.traffic:link,a.traffic:visited,a.traffic:active {color: #ff0000;}

a.traffic:hover {color: #00ff00; text-decoration: underlined;}

You can apply such a class to selected links via marker in FrameMaker, or via paragraph-format assignment in the Mif2Go configuration file. To change just one or two links, probably a marker is easier. To change many links, you might want to use a special paragraph format for the text where the links occur.

In this section:

§19.2.2.1 Assigning a link class with a marker

§19.2.2.2 Assigning a link class with a paragraph format



19 Creating HTML links > 19.2 Specifying link appearance > 19.2.2 Specifying link class