André Laugks: class-Attribute mit mehreren Klassen

Beitrag lesen

Hallo!

http://www.w3.org/TR/CSS2/selector.html#class-html

------------------------------><8------------------------------
This rule matches when class="pastoral blue aqua marine" but does not match for class="pastoral blue".

Note. CSS gives so much power to the "class" attribute, that authors could conceivably design their own "document language" based on elements with almost no associated presentation (such as DIV and SPAN in HTML) and assigning style information through the "class" attribute. Authors should avoid this practice since the structural elements of a document language often have recognized and accepted meanings and author-defined classes may not.
------------------------------><8------------------------------

Der Held des Abends. Auf dieser Seite was ich schon, aber...

MfG, André Laugks

--
L-Andre @ gmx.de