joenas's picture
Joined: 14/04/2005
Posts: 1
Custom CSS Styles

I am wondering if I am the only one having this problem, but unfortunately I was not able to find anything in this forum.
I am rendering html code in the fckeditor, having custom css styles defined in a .css file.
Is there solution to get this css file included? Maybe with the need of fckstyles.xml.
If not, how do I have to create a style in the xml, looking like this.

.Stil1 {
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
.Stil1 A:link {text-decoration: none;color:#EBB58F;}
.Stil1 A:visited {text-decoration: none;color:#EBB58F;}
.Stil1 A:active {text-decoration: none;color:#EBB58F;}
.Stil1 A:hover {text-decoration: none;color:#FDFDFD}
.Stil2 {
font-size: 1px;

Anybody able to help me?
Big thx, greez
tynken's picture
Joined: 11/04/2005
Posts: 7
RE: Custom CSS Styles
in the FCKSTYLES.XML add a <SPAN> type tag. The span class will be your .stil1 class. There are examples in the sample XML file

Roger Wyatt