Why Does Validator not validate "cursor: hand;"?

Discussion in 'CSS' started by LordXenu, Feb 9, 2008.

  1. #1
    Every time I validate a page in which i set a hovering cursor on a division it doesn't seem to validate, why is this? It seems to work across all browsers, and I haven't been able to find nay reasoning for why it might not be valid. What's the word on this? It seems to be the only problem I ever have with validating my CSS. I hate having to remove it just to have a valid style sheet.
     
    LordXenu, Feb 9, 2008 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    because hand is not a valid property for cursor - it is NOT in the W3C specifications... It is an IE specific property that some other browsers (opera) have seen fit to obey, but the official W3C equivalent is "pointer". cursor:hand does nothing in KHTML/Webkit or Gecko based browsers.

    If it's not valid CSS, it won't validate - simple. MIND YOU, because you STILL need to include :hand for some legacy browsers, it is one of the many errors I say go ahead and ignore. File it along the bullshit warnings about setting a background-color without a color.
     
    deathshadow, Feb 9, 2008 IP
  3. LordXenu

    LordXenu Active Member

    Messages:
    313
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    well the pointer thing would make sense, thanks.
     
    LordXenu, Feb 9, 2008 IP