This site has been taken over by the staff of www.ASPDeveloper.Net

Please report errors to suggest@aspdeveloper.net

BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
CSS
CSS <counter-reset> Property
CSS <counter-increment> Property
CSS <content> Property
CSS <color> Property
CSS <clip> Property
CSS <clear> Property
CSS <caption-side> Property
CSS <bottom> Property
CSS <border> Property
CSS <border-width> Property
CSS <border-top> Property
CSS <border-top-width> Property
CSS <border-top-style> Property
CSS <border-top-color> Property
CSS <border-style> Property
CSS <border-spacing> Property
CSS <border-right> Property
CSS <border-right-width> Property
CSS <border-right-style> Property
CSS <border-right-color> Property
<< BizTalk
 

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :1340

 

The cursor property (CSS Reference)

Introduction

The cursor property can be used to define the type of the cursor, which is visible for the user. You can use one of the 16 available cursors or you can use your own created cursor. For that you will need an image of the cursor.

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<style type="text/css">

    p.auto{cursor: auto;}

    p.crosshair{cursor: crosshair;}

    p.default{cursor: default;}

    p.help{cursor: help;}

    p.move{cursor: move;}

    p.pointer{cursor: pointer;}

    p.e-resize{cursor: e-resize;}

    p.n-resize{cursor: n-resize;}

    p.ne-resize{cursor: ne-resize;}

    p.nw-resize{cursor: nw-resize;}

    p.s-resize{cursor: s-resize;}

    p.se-resize{cursor: se-resize;}

    p.sw-resize{cursor: sw-resize;}

    p.w-resize{cursor: w-resize;}

    p.text{cursor: text;}

    p.url{cursor: url("smile.jpg");}

    p.wait{cursor: wait;}

}

</style>

<title>counter-increment Demonstration</title>

</head>

<body>

<h1>

  <p>

    This property implements some cursors. Hover over the below examples to see them.

  </p>

</h1>

<h3>

<table border="1" bordercolor="black" width="100%" cellpadding="2" cellspacing="20">

<tr><td><p class="auto">Auto cursor is defined here.</p></td></tr>

<tr><td><p class="crosshair">crosshair cursor is defined here.</p></td></tr>

<tr><td><p class="default">default cursor is defined here.</p></td></tr>

<tr><td><p class="help">help cursor is defined here.</p></td></tr>

<tr><td><p class="move">move cursor is defined here.</p></td></tr>

<tr><td><p class="pointer">pointer cursor is defined here.</p></td></tr>

<tr><td><p class="e-resize">e-resize cursor is defined here.</p></td></tr>

<tr><td><p class="n-resize">n-resize cursor is defined here.</p></td></tr>

<tr><td><p class="ne-resize">ne-resize cursor is defined here.</p></td></tr>

<tr><td><p class="nw-resize">nw-resize cursor is defined here.</p></td></tr>

<tr><td><p class="s-resize">s-resize cursor is defined here.</p></td></tr>

<tr><td><p class="sw-resize">sw-resize cursor is defined here.</p></td></tr>

<tr><td><p class="w-resize">w-resize cursor is defined here.</p></td></tr>

<tr><td><p class="text">text cursor is defined here.</p></td></tr>

<tr><td><p class="url">url cursor is defined here.</p></td></tr>

<tr><td><p class="wait">wait cursor is defined here.</p></td></tr>

</table>

</h3>

</body>

</html>

Output

Values

Name:

Description:

auto

Defines the cursor automatically.

crosshair

The cursor is displayed as a big plus sign.

default

The default cursor is used.

help

The cursor is displayed as a question mark or a balloon.

move

The cursor looks like when you are moving an object like a window. It looks like a big plus sign with arrows at the end of the lines.

pointer

The cursor looks like when you place your mouse over a link.

e-resize

The cursor is rendered as an arrow from the left to right.

n-resize

The cursor is rendered as an arrow from the top to bottom.

nw-resize

The cursor is rendered as an arrow from the upper left to lower right.

s-resize

The cursor is rendered as an arrow from the top to bottom.

se-resize

The cursor is rendered as an arrow from the upper left to lower right.

sw-resize

The cursor is rendered as an arrow from the upper right to lower left.

w-resize

The cursor is rendered as an arrow from the left to right.

text

The cursor is rendered as a I.

url()

Here you can enter a list comma separated images which defines the location of the cursor. You must enclose those URLs in double quotes. Some browsers do not recognize custom cursors, therefore it is recommend to set a default cursor at the end of the list.

wait

The cursor is displayed as a hourglass cursor.


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Software Specialist, Linux - Finlan
Linux Core Technical Project Manage
Graphics designer at Tanzania. Expe
Integration Specialist Needed - Wor
Virtualization Server Infrastructur

View all Jobs (Add yours)
View all CV (Add yours)






    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP