cursorNN 6 IE 4 CSS 2

Inherited: Yes

Sets the shape of the cursor when the screen pointer is atop the element. The precise look of cursors depends on the operating system. Before deploying a modified cursor, be sure you understand the standard ways that the various types of cursors are used within the browser and operating system. Users expect a cursor design to mean the same thing across all applications. Figure 11-3 offers a gallery of cursors for each of the cursor constant settings provided by Internet Explorer for Windows.

 
CSS Syntax
 
cursor: cursorType || uri
 
Value

A cursor type is one of the implemented cursor names. The following table shows which cursor types are supported by various browsers and the CSS standard.

Notice that IE 6 for Windows implements downloadable cursors. The IE 6 setting for an external URL requires an address of a cursor file of extension .cur or .ani (which you create with a graphics utility that creates Windows cursors).

Cursor nameIE/WindowsIE/MacNNCSS
aliasn/an/a6n/a
all-scroll6n/an/an/a
auto4462
celln/an/a6n/a
col-resize6n/an/an/a
context-menun/an/a6n/a
copyn/an/a6n/a
count-downn/an/a6n/a
count-upn/an/a6n/a
count-up-downn/an/a6n/a
crosshair4462
default4462
e-resize4462
grabn/an/a6n/a
grabbingn/an/a6n/a
hand44n/an/a
help4462
move4462
n-resize4462
ne-resize4462
no-drop6n/an/an/a
not-allowed6n/an/an/a
nw-resize4462
pointer4462
progress6n/an/an/a
row-resize6n/an/an/a
s-resize4462
se-resize4462
spinningn/an/a6n/a
sw-resize4462
text4462
url(uri) 6n/an/a2
vertical-text6n/an/an/a
w-resize4462
wait4462
 
Initial Value

auto

 
Example
 
a.helpLink {cursor: help}
 
Applies To

All elements.