Quote:
Originally Posted by kovidgoyal
There is no corresponding selector. There can be multiple selectors that have a given class name.
|
How could the parser then know which one to use? This sounds like invalid code.
I mean, maybe you can have the same class name on multiple CSS Stylesheet files, but not on the same, right? And the CSS file is referenced using the <link> element on each HTML file.