I'm trying to make a CSS code that changes the cursor to a picture file when the cursor is on a webpage. I've seen sites that give you a simple code to do it but they always have ads. Any codes you guys know that can do this?
+3
A:
yes, simply apply the following css code to your body tag (assuming you want effect for whole page)
body {cursor: URL(images/cursorimagefule.gif);}
EDIT:
further information
image file must be 32x32 or smaller
apparently internet explorer only supports .cur files
Nico Burns
2009-07-17 18:09:58
Well I tried and it did nothing. Anything else?
Tony C
2009-07-17 18:14:21
I assuming that you changed "images/curesorimagesfile.gif" to an actual image file. Otherwise, as I edited above, Internet Explorer only accepts .cur files. What browser/operating system are you using?
Nico Burns
2009-07-17 18:19:00
If you are looking for software to create .cur files with, then I would recommend aniFX (http://icofx.ro/anifx/index.html)
Nico Burns
2009-07-17 18:20:10
@Nico Burns, I'm using FireFox 3.5 Windows Vista With service pack 2. I'm uising a 32 x 32 gif image in the home directory. And using the code you gave me. I'll check out the program to.
Tony C
2009-07-17 18:26:02