I set a cursor for my website and I used an .ico file. Though, it isn't showing at all.
here's the css:
html, body {
cursor: url("images/39020_fPv_icon.ico"), url("images/39020.png"), default;
}
Anyone knows? Thanks.
I set a cursor for my website and I used an .ico file. Though, it isn't showing at all.
here's the css:
html, body {
cursor: url("images/39020_fPv_icon.ico"), url("images/39020.png"), default;
}
Anyone knows? Thanks.
Likely there is an issue with the url. to test this instead of using
default
usecrosshair
and see if the cursor changes, also not the style might be cached in the browser so on most browsers Ctrl+F5 should reload the page without cache.if it's changes the cursor to a
crosshair
then the issue is with your urls, you can either diagnose the urls or you can base64 encode the cursor images which will give you two advantages.There is a downside to this though, and that is that it will make your css file larger however since normally cursor images are pretty small this shouldn't be much of an issue.
how to base64 encode an image you can google search "base64 encode image" one the the top results is base64-image.de this is a site I've used in the past. The css would then look something like this
now what if changing
default
tocrosshair
still didn't do anything? Well there are two possible