Forum Moderators: coopster & phranque

Message Too Old, No Replies

mime type for custom cursor?

How to set a cursor in CSS

         

rjohara

8:28 pm on Mar 16, 2002 (gmt 0)

10+ Year Member



I'm not sure if this is the right place to ask, and since I know almost nothing about server functions I may not even be asking the right question, but...

I'm trying to experiment with CSS2's ability to set a custom cursor by means of this syntax:

a.ext:hover {
cursor: url("ext.cur"), auto; }

I have created the ext.cur file in Windows cursor format I think, and put it in the root directory with the CSS file. I have a feeling that I need to either set a MIME type for .cur on the server, or I need to set the browser to recognize the .cur extension, or both. Is there a MIME type for Windows cursors? Am I asking the right question?

gethan

9:28 am on Mar 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not something I've ever played with - but this is the information I found:

[w3.org...]
[w3.org...]

and

[webreview.com...]

Regrettably, the CSS2 standard does not specify the format of the file containing the cursor. Presumably, browsers will define what a cursor file looks like.

I guess the only thing to do is try a series of differing formats - and see what works.

As for the mime-type - I would guess that as the format is not specified in the specification it would not be necessary to have it in the mime.types file.

Ps. The browsers/html forum would probably have been best for this one ;)