vasuporov / snapboard

Automatically exported from code.google.com/p/snapboard
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Underscore is not allowed in CSS class names and ids #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Wrong: .post_text 
Right:.post-text

Otherwise you will get errors/warnings with some browsers and CSS validators. 

Original issue reported on code.google.com by sna...@gmail.com on 19 Feb 2008 at 9:59

GoogleCodeExporter commented 8 years ago

Original comment by bs1...@gmail.com on 19 Feb 2008 at 8:59

GoogleCodeExporter commented 8 years ago
I just read http://www.w3.org/TR/html4/types.html#h-6.2 and it seems to me that 
IDs
are allowed underscores. No?

http://www.w3.org/TR/CSS21/syndata.html#characters also seems to state that
underscores are allowed.

Original comment by hemeb...@gmail.com on 24 Feb 2009 at 9:32