Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

18 Creating HTML links  > 18.2 Specifying link appearance > 18.2.2 Specifying link class > 18.2.2.1 Assigning a link class with a marker


18.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 §28.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:

§18.2.3 Using markers to assign link attributes

§28.2.4 Using attribute markers for HTML or XML

§24.3.3 Using a custom marker to assign WAI link attributes



18 Creating HTML links  > 18.2 Specifying link appearance > 18.2.2 Specifying link class > 18.2.2.1 Assigning a link class with a marker