1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Hexadecimal upper case or lower case?

Discussion in 'CSS' started by mcdeere02, Aug 7, 2009.

Thread Status:
Not open for further replies.
  1. #1
    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
     
    mcdeere02, Aug 7, 2009 IP
  2. Kazumael

    Kazumael Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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.
     
    Kazumael, Aug 7, 2009 IP
  3. 1 FineLine

    1 FineLine Peon

    Messages:
    78
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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
     
    1 FineLine, Aug 7, 2009 IP
  4. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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?).
     
    Stomme poes, Aug 7, 2009 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    Let me quote from http://csscreator.com/node/36544 dated 16 July 2009.
    Look familiar?

    Reported to admin.

    gary
     
    kk5st, Aug 8, 2009 IP
Thread Status:
Not open for further replies.