[thelist] CSS: Why does this work?

Tim Beadle tsb at wigner.ioppublishing.com
Tue Apr 6 10:24:33 CDT 2004


On Tue, Apr 06, 2004 at 08:28:32AM -0500, Rob Smith wrote:
>   Why does the div work when you enter either "test a" or just "a" in the
> class field? As a random test, "cow a" works too.

Because it's legal to assign multiple classes to an element.

http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=css+multiple+classes&btnG=Google+Search

HTH,

Tim
-- 
"The first priority in finding a needle in a haystack is not to get a bigger 
haystack" - iamnotandrei


More information about the thelist mailing list