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.1 Assigning a link class with a marker


19.2.2.1 Assigning a link class with a marker

You can use custom FrameMaker marker LinkClass to assign a CSS class to a single link, as follows:

1. Create a FrameMaker marker type named LinkClass (see §29.2 Adding custom marker types).

2. For each link to be altered:

2.1. Place a LinkClass marker in your document, just before the link.

2.2. Make the content of the marker the name of the CSS class you want applied.

For example, to apply CSS class traffic to a particular link, somewhere before the link you would insert a LinkClass marker with content:

traffic

CSS class traffic would be applied (only) to the next link after the marker:

<a class="traffic" ...>link text</a>

See also:

§19.2.3 Assigning link attributes with markers

§25.3.3 Assigning WAI link attribute values with custom markers

§29.2.4 Using attribute markers for HTML or XML



19 Creating HTML links > 19.2 Specifying link appearance > 19.2.2 Specifying link class > 19.2.2.1 Assigning a link class with a marker