Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 737
Craig van Tonder Avatar asked Jan 21 '12 13:01

Craig van Tonder


People also ask

How do I get rid of my hand cursor?

Are you working on a Microsoft Word document and you're stuck because the cursor has become a hand? It's super-easy to fix. All you need to do is press the Esc key. That will switch the cursor back to the regular pointy selection cursor.

How do I change the cursor when hovering over a button?

You can simply use the CSS cursor property with the value pointer to change the cursor into a hand pointer while hover over any element and not just hyperlink. In the following example when you place the cursor over the list item, it will change into a hand pointer instead of the default text selection cursor.

How do you change the cursor into a hand when a user hovers over a list item?

How to make the cursor to hand when a user hovers over a list item using CSS? Use CSS property to create cursor to hand when user hovers over the list of items. First create list of items using HTML <ul> and <li> tag and then use CSS property :hover to cursor:grab; to make cursor to hand hover the list of items.

What does the hand symbol mean cursor?

The hand (and often underlined text) signifies a link. Links are not buttons. Links came along with the web. To help users understand that they are different, they are given the hand cursor. It serves as an extra clue.


3 Answers

That's exactly what cursor: pointer; is supposed to do.

If you want the cursor to remain normal, you should be using cursor: default

like image 166
bevacqua Avatar answered Oct 18 '22 19:10

bevacqua


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.

like image 39
jacktheripper Avatar answered Oct 18 '22 19:10

jacktheripper


Try this

To Remove Hand Cursor

a.link {
    cursor: default;
}
like image 5
Anil Kumar Reddy Avatar answered Oct 18 '22 20:10

Anil Kumar Reddy