[TYPO3] How to style certain elements generated by TYPO3

ries van Twisk typo3 at rvt.dds.nl
Tue Oct 16 17:24:35 CEST 2007


On Oct 16, 2007, at 10:17 AM, Stephen Bungert wrote:

> This one for example, a *dl* tag:
>
> <dl class="csc-textpic-image csc-textpic-firstcol csc-textpic-lastcol"
> _______________________________________________



That means that there are tree classes applied to this tag.
Each class is applied in order

here is a better example:

.redborder {border:2px solid red;}
.graybackground {background-color:gray}
.yellowtext {color:yellow;}
.bluetext {color:blue;}


<div class="redborder graybackground yellowtext">Hello</div>


Guess what....

The world hello will be shown in yellow on a gray background with a  
red border.

Other example:

<div class="redborder graybackground yellowtext bluetext">Hello</div>

The world hello will be shown in blue on a gray background with a red  
border.


Ries




--
Ries van Twisk
Freelance TYPO3 Developer
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/
skype: callto://r.vantwisk
Phone: + 1 810-476-4193








More information about the TYPO3-english mailing list