Today is . Page created 06/01/05, updated 05/31/06

Fancy Custom CSS Cursors

I n IE 4+, NS6+ and Opera7.23 the cursor shown when moving the mouse over elements can be customized to display a cursor type other than the pre-selected one by your OS ( Operating System ). You can select from a pool of cursors to be associated with elements in a document when the mouse is over them. For example, wouldn't it be nice if you could replace the usual "Hand" cursor with something else when moving the mouse over links, or give tables a "Crosshair" cursor instead of the usual I-beam cursor? Well, thanks to IE4, Netscape6 and Opera7.23's support for CSS, you can!

W e have tested the tags in IE6.0, Firefox1.5.0.1, Opera8.52, Netscape7.02, Netscape8.0.4 and AOL Explorer1.2. These <span style> </span> tags worked well in all platforms with no variations observed.

Directions:

There are in general 25 or so types of cursors you can choose from to be associated with any (with the exception of a few) elements in a document.

Fancy Cursors

Place your cursor on the below text to see your cursor change!
Below Each Different Cursor Effect Is The Code For That Effect

  • This span has a "hand" cursor
    cursor-hand
    <span style="cursor:pointer; cursor: hand"> This span has a "hand" cursor </span>

    You may be wondering why the "hand" style has two declarations within its tag. The reason is to please both NS6 and IE4+, the former of which recognizes "pointer", while the later, "hand".


  • This span has a "default" cursor
    cursor-default
    <span style="cursor:default"> This span has a "default" cursor </span>

  • This span has a "crosshair" cursor
    cursor-crosshair
    <span style="cursor:crosshair"> This span has a "crosshair" cursor </span>

  • This span has a "text" cursor
    cursor-text
    <span style="cursor:text"> This span has a "text" cursor </span>

  • This span has a "wait" cursor
    cursor-wait
    <span style="cursor:wait"> This span has a "wait" cursor </span>

  • This span has a "help" cursor
    cursor-help
    <span style="cursor:text"> This span has a "help" cursor </span>

  • This span has a "move" cursor
    cursor-move
    <span style="cursor:move"> This span has a "move" cursor </span>


  • This span has a "e-resize" cursor
    cursor-e-resize
    <span style="cursor:e-resize"> This span has a "e-resize" cursor </span>

  • This span has a "ne-resize" cursor
    cursor-ne-resize
    <span style="cursor:ne-resize"> This span has a "ne-resize" cursor </span>

  • This span has a "nw-resize" cursor
    cursor-nw-resize
    <span style="cursor:nw-resize"> This span has a "nw-resize" cursor </span>

  • This span has a "n-resize" cursor
    cursor-n-resize
    <span style="cursor:n-resize"> This span has a "n-resize" cursor </span>

  • This span has a "se-resize" cursor
    cursor-se-resize
    <span style="cursor:se-resize"> This span has a "se-resize" cursor </span>

  • This span has a "sw-resize" cursor
    cursor-sw-resize
    <span style="cursor:sw-resize"> This span has a "sw-resize" cursor </span>

  • This span has a "s-resize" cursor
    cursor-s-resize
    <span style="cursor:s-resize"> This span has a "s-resize" cursor </span>

  • This span has a "w-resize" cursor
    cursor-w-resize
    <span style="cursor:w-resize"> This span has a "w-resize" cursor </span>

  • This span has a "progress" cursor
    cursor-progress
    <span style="cursor:progress"> This span has a "progress" cursor </span>

  • This span has an "all-scroll" cursor
    cursor-all-scroll
    <span style="cursor:all-scroll"> This span has a "all-scroll" cursor </span>

  • This span has a "col-resize" cursor
    cursor-col-resize
    <span style="cursor:col-resize"> This span has a "col-resize" cursor </span>

  • This span has a "no-drop" cursor
    cursor-no-drop
    <span style="cursor:no-drop"> This span has a "no-drop" cursor </span>

  • This span has a "not-allowed" cursor
    cursor-not-allowed
    <span style="cursor:not-allowed"> This span has a "not-allowed" cursor </span>

  • This span has a "row-resize" cursor
    cursor-row-resize
    <span style="cursor:row-resize"> This span has a "row-resize" cursor </span>

     

Remember:
Most elements can have a custom cursor associated with it, so feel free to paste the code into your <table> elements, <p> elements, or even the <body> element itself!

W e hope our tutorial was easy to follow and we covered everything in detail. If you have any problems with this or anything else, feel free to consult our FAQ ] and if you can't find the answer there, contact us ].
Rate This Page ]  

Talk Live To A Support Technician

Search Our Site By Individual letter

A ]  [ B ]  [ C ]  [ D ]  [ E ]  [ F ]  [ G ]  [ H ]  [ I ]  [ J-K ]  [ L ] 
M ]  [ N-O ]  [ P-Q ]  [ R ]  [ S ]  [ T ]  [ U-V ]  [ W ]  [ X-Y-Z ] 

Little Tips Directory

Page 1  ] [ Page 2 ] [ Page 3 ] [ Page 4 ] [ Page 5  ] [ Page 6  ] [ Page 7  ]

Index Page 1 ] [ Index Page 2 ] [ Index Page 3 ] [ Index Page 4 ] [ Index Page 5 ]
Index Page 6 ] [ Index Page 7 ] [ Index Page 8 ] [ Index Page 9 ] [ Index Page 10 ]
Index Page 11 ] [ Index Page 12 ] [ Index Page 13 ]

News Letter Archives ] [ Navigation Page ] [ Archives Of Published Material ]
Link To Us ] [ Alphabet Index ] [ Feedback ] [ On Line Support ] [ FAQ ]
Webmaster Utilities ] [ Casino ] [ Banner Exchange ] [  Advanced Site Search ]

If you are part of the ever growing number of webmasters who enjoy sharing your knowledge with others on web design, join The Consigliere Ltd. web ring to broaden your scope of exposure.
Join Today

This Site Was Built And Is Maintained Exclusively by
The Webmaster @ Consigliere Ltd.

Copyright © Consigliere Ltd., All Rights Reserved. 2001-