[thelist] CSS: Why does this work?

Dougal Campbell dougal at gunters.org
Tue Apr 6 10:52:33 CDT 2004

On Tue, 6 Apr 2004, Rob Smith wrote:

> [....]
>   <div class="test a">
> 	This is a test.
>   </div>
> [....]
>   Why does the div work when you enter either "test a" or just "a" in the
> class field?

Because it's supposed to. Multiple class specifiers are allowed. Some
older browsers don't support it, but it's defined in the CSS specs.

Ernest MacDougal Campbell III, MCP+I, MCSE <dougal at gunters.org>
http://dougal.gunters.org/             http://spam.gunters.org/
  Web Design & Development:  http://www.mentalcollective.com/
       This message is guaranteed to be 100% eror frea!

More information about the thelist mailing list