开发者

How to make a link have the gloved hand mouse when hovering [duplicate]

开发者 https://www.devze.com 2022-12-28 20:09 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: Make mouse pointer a hand when hover over <li> element?
This question already has answers here: Closed 10 years ago.

Possible Duplicate:

Make mouse pointer a hand when hover over <li> element?

I have an input form button when you hov开发者_Python百科er your mouse over it the mouse pointer doesn't change orientation. How can I make a link specify to show the gloved mouse finger pointer?


cursor: pointer;


I found This interesting site about mouse pointer styling for you. Scroll down to pointer W3C.

cursor: pointer;

You can hover to test the ones you like and it indicates what browsers it works with.


this is another little example

<style type="text/css">
   a.clickable{
       cursor: pointer;
       cursor: hand;
   }
</style>

<a href="#" class="clickable">Link</a>


If the link is an anchor tag it should happen by default. You could use CSS to force it, and then it wouldn't matter what html tag it is.

<a href="/Blah.htm" style="cursor: hand;">Blah</a>

(See Comments below for important info)

0

精彩评论

暂无评论...
验证码 换一张
取 消