Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 22nd 2006
     # 1
    what a pain to have to change them all back to lowercase
    its better to use lowercase in style sheets and html tags
    •  
      CommentAuthorMark
    • CommentTimeAug 22nd 2006
     # 2
    Html tags should all be lowercase (And I believe they are so they can validate properly).

    CSS is a personal preference.
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 22nd 2006
     # 3
    when you use caps in the stylesheet, for example Header, then the html tag div id="Header" will also be caps
    i'm sure it will still validate but it really should be lowercase to promote consistency accross the board,
    everyone has their way of course, like when you see people using PAGE.html or Page.html instead of page.html
  1.  # 4
    XHTML requires all tag names and attributes to be lowercase. For CSS it is a personal preference, I personaly use camelCase in CSS. For the record -- class names and IDs ae case sensitive, so be careful there.
    •  
      CommentAuthorBergamot
    • CommentTimeAug 22nd 2006
     # 5
    As long as it's consistent (and at least in the Vanilla core, it is), it's perfectly OK to use uppercase characters in class names and IDs.

    Whether you do depends on personal preferences (mainly whether you hate capital letters, underscores, or dashes the least)
Add your comments
    Username Password
  • Format comments as