ID Naming Convention
-
I realize this might be a bit stupid to ask but why are the ID’s for the add review form starting with numbers, shouldn’t it have at least one letter in the beginning ?
Apparently the HTML 5 speck doesn’t enforce this per say, however it also seems like elements with those ID’s cannot be “referenced” by CSS directly OR used as part of a rule either, so this:
#123456 {color:#000;}
does not work#123456 .some-other-div {color:#000}
neither does this, at least on FF and Chrome.I know I can very easily apply CSS and get around this limitation but I just wanted to make note of this.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘ID Naming Convention’ is closed to new replies.