tags:

views:

132

answers:

1

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
Well I tried and it did nothing. Anything else?
Tony C
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
If you are looking for software to create .cur files with, then I would recommend aniFX (http://icofx.ro/anifx/index.html)
Nico Burns
@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