> Not only can you apply multiple classes to elements, you can also
> select elements with both classes and apply styles to only things with
> both.
>
> For example:
> .column {width: 48%}
> .left {float: left}
> .left.column {
> border-right: 1px solid #333;
> padding-right: 1em;
> }
>
> Note the lack of a space in the last selector.
Be aware that this does not work in IE6. This browser sees the above as:
.column {width: 48%}
.left {float: left}
.column {
border-right: 1px solid #333;
padding-right: 1em;
}
--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/