Home arrow Style Sheets arrow Page 3 - CSS: Continuing the Clarification of CSS Classification
STYLE SHEETS

CSS: Continuing the Clarification of CSS Classification


In our last CSS tutorial, published about a month ago, we covered some of the Classification properties, which allow you to display elements, position them, choose where they will appear, control their visibility, and a whole lot more. In this article we will finish the discussion.

Author Info:
By: James Payne
Rating: 5 stars5 stars5 stars5 stars5 stars / 2
May 12, 2008
TABLE OF CONTENTS:
  1. · CSS: Continuing the Clarification of CSS Classification
  2. · Absolutely Relatively Speaking
  3. · Changing the Way You Curse
  4. · Attack of the Invisible Man

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

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.


blog comments powered by Disqus
STYLE SHEETS ARTICLES

- CSS Combinators: Working with Child Combinat...
- CSS Combinators: Using General Siblings
- Intro to CSS Combinators
- CSS Semicircles and Web Page Headers
- Drawing Circular Shapes with CSS3 and Border...
- More CSS Pagination Link Templates
- CSS Pagination Links
- Animated CSS3 Image Gallery: Advanced Transi...
- CSS3 Animated Image Gallery: Transitions
- CSS3 Properties: Fixed Heights with box-sizi...
- CSS3 Properties: Altering Strokes and 3D Eff...
- CSS3 Properties: Text-Stroke
- CSS3 Transitions: Width and Height Properties
- Creating a Drop Down Menu in CSS3
- Intro to CSS Transitions

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 9 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials