Style Sheets
  Home arrow Style Sheets arrow Page 3 - CSS: Continuing the Clarification of CSS C...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
STYLE SHEETS

CSS: Continuing the Clarification of CSS Classification
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2008-05-12

    Table of Contents:
  • CSS: Continuing the Clarification of CSS Classification
  • Absolutely Relatively Speaking
  • Changing the Way You Curse
  • Attack of the Invisible Man

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    CSS: Continuing the Clarification of CSS Classification - Changing the Way You Curse


    (Page 3 of 4 )

    You can determine the way a cursor looks when it goes over an element. There are many types of cursors, and they will each be displayed in the code below. Give them a try:


    <html>

    <body>

    <h1>To see what each cursor style does, hover your mouse over them:</h1>

    <p style="cursor:auto">

    Auto</p>

    <p style="cursor:crosshair">

    Crosshair</p>

    <p style="cursor:default">

    Default</p>

    <p style="cursor:pointer">

    Pointer</p>

    <p style="cursor:text">

    Move</p>

    <p style="cursor:e-resize">

    e-resize</p>

    <p style="cursor:ne-resize">

    ne-resize</p>

    <p style="cursor:nw-resize">

    nw-resize</p>

    <p style="cursor:n-resize">

    n-resize</p>

    <p style="cursor:se-resize">

    se-resize</p>

    <p style="cursor:sw-resize">

    sw-resize</p>

    <p style="cursor:s-resize">

    s-resize</p>

    <p style="cursor:w-resize">

    w-resize</p>

    <p style="cursor:move">

    text</p>

    <p style="cursor:help">

    wait</p>

    <p style="cursor:wait">

    help</p>

    </body>

    </html>

    You can also use a custom cursor by using url, as shown below:


    h1

    {

    cursor: url(“sample.cur”),url(“backup.cur”), default

    }

    Note that in the above example we put default as the cursor type, just in case our other cursors do not show up.

    More Style Sheets Articles
    More By James Payne


     

    STYLE SHEETS ARTICLES

    - Creating Three-Column Web Page Layous with N...
    - Swapping Column Positions in Web Page Layout...
    - Creating Web Page Layouts with Negative Marg...
    - Creating Gradients for Individual Containers...
    - Creating Gradients for Web Page Headers with...
    - SEO Scrolling Frames Problem Solved
    - Building Cross-Browser Background Effects wi...
    - CSS: Pseudo
    - Using PNG Images to Build Background Effects
    - CSS: Continuing the Clarification of CSS Cla...
    - CSS: Top Secret Classification
    - CSS: Dimensions
    - CSS: Margins and Padding
    - CSS: Crossing the Border
    - CSS: Text, Fonts, and Tables







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway