Click to See Complete Forum and Search --> : A: Cursor


alcodes
12-24-2002, 08:30 PM
I cant seem to get the cursor to be different than that stupid hand using CSS, I have tried:
A:Cursor: URL(link.cur)
A:Hover:Cursor: URL(link.cur)

jeffmott
12-24-2002, 08:58 PM
a { cursor: url("link.cur") }

The property cursor may have values of [ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ] ] | inherit

alcodes
12-25-2002, 04:07 PM
Thanks!

spoontacular
12-31-2002, 01:09 PM
Yes, but the quotes are unnecessary, correct?

Would
a { cursor: url(link.cur); }
work as well.

Charles
12-31-2002, 01:18 PM
From http://www.w3.org/TR/REC-CSS2/syndata.html#uri:
The format of a URI value is 'url(' followed by optional whitespace followed by an optional single quote (') or double quote (") character followed by the URI itself, followed by an optional single quote (') or double quote (") character followed by optional whitespace followed by ')'. The two quote characters must be the same.

spoontacular
12-31-2002, 01:25 PM
Aye, I thought so.

Rick Bull
12-31-2002, 02:54 PM
I seem to remember though that you need them if you are going to include certain characters, so you may as well just use them.