Page 1 of 1

Multiple classes for single element

Posted: Fri Sep 07, 2007 3:27 pm
by pixelenvy
Using the editor included with cmsms.. is there any way to apply multiple styles to a single element?

Re: Multiple classes for single element

Posted: Sat Sep 08, 2007 9:10 pm
by tgmayfield

Code: Select all

<div class="myFirstClass mySecondClass myThirdClass">
Then, in your CSS, you can be as specific as you want:

Code: Select all

div.myFirstClass {}
div.myFirstClass.mySecondClass {}
div.myThirdClass.mYFirstClass{}
If you're wanting a more specific answer than that, go for a more specific question. :D

--Thomas