Solved

W3C Validator: cursor: hand is not a valid cursor value

Posted on 2004-05-01
7
1,335 Views
Last Modified: 2012-06-21
Dear All,

I am checking my site over to make sure it conforms to W3C, one thing with the CSS validator is it is saying cursor:hand is not valid. Although it works fine with IE, should I be actually using something else?

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.webtechy.co.uk&warning=1&profile=css2&usermedium=all

Any help much appreciated.

Thanks,

Ben.
0
Comment
Question by:webtechy
  • 3
  • 3
7 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 100 total points
ID: 10969577
cursor:pointer

Hand is a Microsoft "enhancement".

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10969583
This page will give support information on the cursor values:

http://www.blooberry.com/indexdot/css/properties/dynamic/cursor.htm

Cd&
0
 
LVL 15

Expert Comment

by:Daydreams
ID: 10970369
This is interesting as well, considering some browser issues:

http://devedge.netscape.com/viewsource/2002/cursor/   <--try this link in IE as well as Mozilla

Another resource about cursors:

http://devedge.netscape.com/viewsource/2002/cursor/
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 15

Assisted Solution

by:Daydreams
Daydreams earned 25 total points
ID: 10970384
webtechy, just a note: If you apply the solution:

a {cursor: pointer; cursor: hand;}

..suggested at the link:

http://devedge.netscape.com/viewsource/2002/cursor/ 

..your code will not validate. Quoted from that site: "A caveat: following the approach recommended here will prevent the stylesheet from validating, since it contains an invalid value for cursor. Authors are advised to weigh this drawback against the gain the fix gives them, decide which is more important to them, and proceed accordingly."
0
 
LVL 2

Author Comment

by:webtechy
ID: 10972691
Cheers guys :-)
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10972697
Glad we could help.  Thanks for the A. :^)

Cd&
0
 
LVL 15

Expert Comment

by:Daydreams
ID: 10974278
Cheers webtechy and thanks for the A:)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question