Hi All, I did a search and could not find any topics on this. I have also google for the answer and still have not found a yes or no to using one over the other. So does anyone know which should be used, #FFFFFF or #ffffff. I have seen both being used and have also seen some mixes #Fffffff being used. I like doing things the right way so I does think a mixed #Ffffff would be right
W3 uses lowercase values in their examples, but I couldn't find anything in the specification on this. To be consistent with the XHTML/XML standard, I should say lowercase is the way to go.
I use all lowercase for XHTML tags but use uppercase for hex values. Validates either way and for me it's easier to find in the code when they are uppercase
Lawlz @ the OP. While traditionally hex values have been uppercase (and in many systems they must be) browsers are lenient as ever. They'll accept anything you spoon-feed them. I use lowercase out of tag habit. But it does not matter to any user agent (unless someone knows of some rare case?).
Let me quote from http://csscreator.com/node/36544 dated 16 July 2009. Look familiar? Reported to admin. gary