Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

ID Naming Convention

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 59525

Trending Articles