[thelist] CSS: Why does this work?

Carl Meyer cjmeyer at npcc.net
Tue Apr 6 11:01:33 CDT 2004


hi Rob,

On Tue, 6 Apr 2004, 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.

You can apply multiple classes to an element by space-separating the class
names.  In your example, you are applying both "test" and "a" classes to
your div.

Carl



More information about the thelist mailing list