Partager via


About Creating Dynamic Hyperlinks

You can create a more dynamic help system, and bring greater emphasis to text links, by making your links change color or size when a user points to them.

For an example, point to the link at the bottom of this topic. The following hover style was added to the cascading style sheet for this help file to create the dynamic links:

a:hover {<i>attribute:</i> <i>value</i>; }

where attribute is a stylesheet attribute, and value is the corresponding value. Use a semicolon to separate multiple attributes.

Example

The following example shows an anchor that will turn red and become bold when a user moves their cursor over the link text:

a:hover {color: red; font-weight: bold; }

Create Dynamic Links