Microsoft Corporation
Updated June 10, 1999
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 {attribute: value; }
where attribute
is a stylesheet attribute, and value
is the corresponding value. Use a semicolon to separate multiple attributes.
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 | |