The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Pointing Devices |
| Previous Style: cue-before | Next Style: direction |


cursor

Specifies the type of cursor to appear when a mouse or other pointing device is positioned over an element.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported
Possible Values:
auto
The default cursor according to the current context.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

crosshair
A crosshair cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

default
The default cursor for the element.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

e-resize
An east resize cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

hand
A hand cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

help
A help cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

move
A move cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

n-resize
A north resize cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

ne-resize
A northeast resize cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

nw-resize
A northwest resize cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

pointer
A pointer cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

s-resize
A south resize cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

se-resize
A southeast resize cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

sw-resize
A southwest resize cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

text
A text cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

[url]
The file name or full URL of a cursor file.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

w-resize
A west resize cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

wait
A wait cursor (see the example).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

Example:
Move your mouse over each paragraph below to see the different cursor types:<BR>
<SPAN STYLE="cursor: crosshair"><BR>
<SPAN STYLE="cursor: hand">hand<BR>
<SPAN STYLE="cursor: help">help<BR>
<SPAN STYLE="cursor: move">move<BR>
<SPAN STYLE="cursor: pointer">pointer<BR>
<SPAN STYLE="cursor: text">text<BR>
<SPAN STYLE="cursor: wait">wait<BR>
<SPAN STYLE="cursor: n-resize">n-resize<BR>
<SPAN STYLE="cursor: ne-resize">ne-resize<BR>
<SPAN STYLE="cursor: nw-resize">nw-resize<BR>
<SPAN STYLE="cursor: s-resize">s-resize<BR>
<SPAN STYLE="cursor: se-resize">se-resize<BR>
<SPAN STYLE="cursor: sw-resize">sw-resize<BR>
<SPAN STYLE="cursor: e-resize">e-resize<BR>
<SPAN STYLE="cursor: w-resize">w-resize<BR>
How It Looks:
Move your mouse over each paragraph below to see the different cursor types:

hand
help
move
pointer
text
wait
n-resize
ne-resize
nw-resize
s-resize
se-resize
sw-resize
e-resize
w-resize

| Index | Current Category: Pointing Devices |
| Previous Style: cue-before | Next Style: direction |