View Full Version : cursor help


Brandon
05-10-2003, 04:01 PM
In css is their a way to change the cursor for a hover link? Instead of adding the tag to each <a href= i'd rather just do it once in CSS.
Here's my code:

<style>
<!--
A:link { text-decoration: none; color:"red" }
A:visited { text-decoration: none; color:"red" }
A:hover { text-decoration: underline; color:"blue" }

i was wondering if i just put a cursor:"cross"; after one of them. I'm not sure.

Elentari
05-10-2003, 04:04 PM
Yep you just add it to the a:hover.....but you don't need the "'s and you have to put a ; at the end and also it's not cross, it's crosshair...your code should look like this....


<style>
<!--
A:link { text-decoration: none; color:red; }
A:visited { text-decoration: none; color:red; }
A:hover { text-decoration: underline; color:blue; cursor:crosshair; }

Brandon
05-12-2003, 01:45 PM
thanks