Solved

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

Posted on 2004-05-01
7
1,324 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

"I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
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 tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

816 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now