1

On this page, there is a "read more..." link towards the end of the page, enclosed in <span id="s-hpi"></span>

There is CSS:

#s-hpi {
  color: 0000FF;
  cursor: hand;
}

but Chrome code inspector says both these rules are invalid.

Why?

Thanks.

1
  • 1
    FWIW color codes without the # and cursor:hand worked on old versions of IE (emphasis on the "old").
    – MrWhite
    Commented May 22, 2014 at 13:51

2 Answers 2

7

As mention above You're missing the # before the hex color. for cursor you can use pointer

#s-hpi {
color: #0000FF;
cursor: pointer;
}
2
  • 2
    Or shorter #00F
    – Martijn
    Commented May 22, 2014 at 13:31
  • Silly me. Thanks. On stackoverflow my question would have received 3-4 downvotes because I didn't know the answer.
    – Steve
    Commented May 23, 2014 at 2:06
3

You're missing the # before the hex color:

color: 0000FF;

should be:

color: #0000FF;
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.