Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Cursor to a custom icon with a StyleSheet.

Status
Not open for further replies.

Draug

Programmer
Apr 18, 2001
77
CA
Greetings,

I know how to change the cursor in a CSS. However, it only seems to work if the cursor that I am changing to is one of the dozen or so standard ones.

I want to change the cursor to the combination of an hourglass and the pointer. This is the cursor that Windows displays when an application is loading. I retrieved that wait_m.cur file from windows and tried to set my cursor to that file but it did not work.

How can I change the cursor to a custom icon? It only has to work in IE5+.

Thanks so much,
Draug
 
tsdragon found a way to do this, but it was only specced for IE6+ , its

cursor: url(yourcursor.gif);

havent tried it in IE5.5, it may work, Those guys will throw anything in.. Dean Owen
 
Thanks for the response.

Unfortunately, I have tried that. It does not work. :(

Once I put the url part into the cursor attribute, it seems that it is simply ingnored in IE 5 and 5.5

Any other ideas?

Thanks,
Draug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top