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)
精彩评论