PDA

View Full Version : HowTo: Simple Link Rollover Behavior


Slacker
11-11-03, 11:58 PM
How to make links change color when you move the mouse over them! Toss this at the top of your page:

<STYLE TYPE="text/css">
a:link { color: blue; text-decoration: none }
a:active { color: red; text-decoration: none }
a:visited { color: blue; text-decoration: none }
a:hover { color: yellow; text-decoration: underline }
</STYLE>

Naturally, you can set those colors to whatever you want. ;) You can also do this in a seperate CSS file, which is preferred of course, but this'll work for a simple quick page.

BarMonger
11-12-03, 01:47 AM
Spam!! :mad:

Jack_Tripper
11-12-03, 01:53 PM
cool thanks...used it on my internal info site!

Jack