cursor:hand not working in IE9 but works in IE8

Posted on 2011-05-02
Last Modified: 2012-06-27
I have the below code to show a hand cursor. It works on IE8 and below but not on IE9:
<span style="cursor:hand">
Question by:sandya_116
    LVL 17

    Accepted Solution

    Hi, try with pointer:
    <span style="cursor:pointer;">

    Open in new window

    <span style="cursor:pointer; cursor:hand;">

    Open in new window

    LVL 9

    Expert Comment

    It should be "cursor: pointer;" alone because hand is a proprietary value only implemented by old versions of IE, and is thus an invalid value.

    If you actually care about IE 5.x, though, you switch the two properties around, i.e. (cursor: hand; cursor: pointer, hand comes first). Your CSS will still invalidate though, so I'd rather you not bother.
    LVL 17

    Expert Comment

    by:Carlos Villegas
    Hi @radcaesar
    i.e. (cursor: hand; cursor: pointer, hand comes first).

    Are you sure?

    Note on pointer and hand

    In the past the hand value was Microsoft's way of saying pointer; and IE 5.0 and 5.5 only support hand. Because it's the cursor value that's used most often, most other browsers have also implemented hand.

    Since IE 6 and 7 support pointer, there's no more reason to use hand, except when older IEs are part of your target audience. In that case, the only cross-browser syntax is:

    element {
          cursor: pointer;
          cursor: hand;
    Note that the two declarations must be in this order.
    LVL 3

    Expert Comment

    by:teodor birca

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now