0

I wanted to know why this custom cursor doesn't work:

html{
cursor: url("../../../../../../Oxygen_Cursors%5B2%5D.fw.png");
}
BenMorel
  • 34,448
  • 50
  • 182
  • 322
philip
  • 103
  • 1
  • 5
  • I don't see any relevance between your Questions title and body – apomene Sep 30 '14 at 13:14
  • What do you mean "doesn't work"? – Sablefoste Sep 30 '14 at 13:17
  • I'd rename the file avoiding special characters like `%5B2%5D`. And double check your path. You might easily end up in the wrong directory. – Falko Sep 30 '14 at 13:31
  • Sorry about that @apomene I was going to ask another question and didn't know that the title had saved, fixed it know – philip Sep 30 '14 at 13:46
  • @Falko I have removed all of the special characters and shouldn't the directory already work since I used the search for url tool to find it? – philip Oct 01 '14 at 11:44
  • @SableFoste I mean that it doesn't show the cursor I have set when I open the webpage – philip Oct 01 '14 at 11:44

2 Answers2

0

It's difficult to tell the reason for your problem. But you might want to check the following:

  • Is the path correct? (I don't know what "search for url tool" you are referring to.)
  • Are special characters an issue? (Ok, you already checked that.)
  • Does your browser support PNG cursor images? IE, for example, does not.
  • Does your browser support the image size?
  • Does your browser require another non-url option, like "auto"? Firefox, for example, does.

For more details, have a look into this discussion and this reference.

Community
  • 1
  • 1
Falko
  • 17,076
  • 13
  • 60
  • 105
0

your question is quite broad, but you could try using the following code

<BODY style="CURSOR: url('cursor file name.ani')">

replace the "cursor file name.ani" part with the name of your cursor file.

DarkEvE
  • 171
  • 12