css - Cross-browser 'cursor:pointer' -


i found these css attributes, make cursor hand:

  • ie - style="cursor: hand;"
  • ns6/ ie6 - style="cursor: pointer;"
  • cross browser - style="cursor: pointer; cursor: hand;"

however notice stack overflow using "cursor: pointer" in css. however, apparently work on ie.

so ... gives? correct, browser-independent way use css item?

according quirksmode, cross-browser syntax is:

element {     cursor: pointer;     cursor: hand; } 

they give more information cursor well:

in past hand value microsoft's way of saying pointer; , ie 5.0 , 5.5 support hand. because it's cursor value that's used often, other browsers have implemented hand.

since ie 6 , 7 support pointer, there's no more reason use hand, except when older ies part of target audience.

i think page linked might little outdated newest browsers.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -