Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-05-17 22:10:45
- whatbrick
- Member
- From: Texas
- Registered: 2006-03-13
- Posts: 100
Re: Class inhering
You can combine classes in an element like this:
<div class="foot rightfoot"></div>
This will apply all the style declarations from both foot
and rightfoot
. If both contain similar declarations (such as both containing a color
attribute), then the attributes of the styles listed later will be used. As far as I know, you can combine as many classes as you like, but I haven’t tested it.
Do not taunt the Markup Monkey!
Offline
Pages: 1