what name spacing to use for div id's and classes? |
[eluser]Aken[/eluser]
[quote author="InsiteFX" date="1340541246"]Javascript does not like underscores in css class names or id's.[/quote] This is backwards. Javascript prefers underscores. The most widely accepted, unofficial standard is to use underscores in IDs, and hyphens in class names. http://stackoverflow.com/questions/16968...underlines Beyond that, the naming conventions are your own personal preference. |
Welcome Guest, Not a member yet? Register Sign In |