Change cursor style to hand

Written by coregps on March 19th, 2008 in Web Design.

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

You might want to change the default cursor of an html element to hand. For example, an img element, something like this:

<img src=”button.gif” style=”cursor: hand” />

This works well in IE, but in Firefox, it has no effect. The correct css style should be:

<img src=”button.gif” style=”cursor: pointer” />

It works both in IE and Firefox.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • De.lirio.us
  • feedmelinks
  • Furl
  • LinkaGoGo
  • scuttle
  • Shadows
  • Smarking
  • Reddit
  • Spurl
  • YahooMyWeb
  • connotea
  • Technorati
  • Netvouz
  • Fark
  • DZone
  • Netscape
  • Simpy
  • NewsVine
  • Slashdot

One Response to “Change cursor style to hand”

  1. Kathy Beal Says:

    I want to change the web cursor away from a hand. I see a lot on the web like this:

    I don’t know how to do that.

Leave a Reply



Site Navigation