Is it possible to remove the hand cursor that appears when hovering over a link? (or keep it set as the normal pointer)
I would like to remove the hand cursor that appears when you hover over a hyperlink.
I have tried this css:
a.link {
cursor: pointer;
}
And this:
a.link {
cursor: pointer !important;
}
And still it changes to the hand when I hover over the link.
Does anyone have any ideas as to why this happens or a solution that would enable me to achieve this effect?
Solution 1:
That's exactly what cursor: pointer;
is supposed to do.
If you want the cursor to remain normal, you should be using cursor: default
Solution 2:
Using inline styling use <a href="your link here" style="cursor:default">your content here</a>
.
See this example
Alternatively use css. See this example.
This solution is cross-browser compatible.
Solution 3:
<button>
<a href="https://accounts.google.com/ServiceLogin?continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fpc%3Den-ha-apac-in-bk-refresh14&service=mail&dsh=-3966619600017513905"
style="cursor:default">sign in</a>
</button>
Solution 4:
Try this
To Remove Hand Cursor
a.link {
cursor: default;
}