hi,

> when applying more than one class is there a better way to do it than
> <div class="button" class="myclass>
> </div>
> And is it considered good css to add more than one class in this way?

I'm not sure this way can validate.
the 'correct' way of declaring multilple class for an element is to
space-separate them in the tag. Since the space is not allowed in the
class name, it works. :

<div class="button myclass"> </div>

Read http://css-discuss.incutio.com/?page=MultipleClasses and
http://www.w3.org/TR/html401/struct/global.html#adef-class
for more info.


2006/7/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Hi,
>
> when applying more than one class is there a better way to do it than
>
>
> <div class="button" class="myclass>
>
> </div>
>
> And is it considered good css to add more than one class in this way?
>
>
> Ross
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to