Multiple classes for single element

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
pixelenvy

Multiple classes for single element

Post by pixelenvy »

Using the editor included with cmsms.. is there any way to apply multiple styles to a single element?
tgmayfield
Forum Members
Forum Members
Posts: 11
Joined: Tue Apr 24, 2007 5:51 pm

Re: Multiple classes for single element

Post 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
Locked

Return to “CMSMS Core”