[TYPO3-RTE] bulletlist with span

Sebastian Fuchs sebastian at hexerei.net
Mon Nov 5 11:59:58 CET 2007


Hi Ries,

ries van Twisk schrieb:
> 
> why can't you style the li tag directly?

i already did.
what i am using right now is a css-definition like this:

#content ul {
	margin: 0px 20px 14px 40px;
	padding: 0px 0px 0px 30px;
	list-style-type: square;
	color: #9bc346;
}

#content ul li {
	margin-bottom: 5px;
}

#content ul li span {
	color: #283d47;
}

so i get nice green squares in front of my list items. without the 
additionaly span-tags the text will be green too, with them it will 
become dark.
Using the normal content element "bulletlist" in addition with this 
typoscript snip:
tt_content.bullets.20.innerStdWrap.wrap = <span>|</span>
everythink works fine.

i just wanted to give the editor the possibility to also use the list 
feature in the rte.

you see what i mean?


thanks anyway,
sebastian


More information about the TYPO3-project-rte mailing list