Hi
How do I change the default stylesheet values in
the 'style' and 'format' drop down boxes ?
It seems that the fckstyles.xml file only changes the 'style' dropdown not the format dropdown?
If I wanted to add my own style how would this be achieved?
e.g.
contentcopybox h6
{
font-family: Arial, Helvetica, geneva, sans-serif;
font-size: 10px;
line-height: 8px;
color: #394A71;
text-decoration: none;
font-weight: normal;
}
How do I change the default stylesheet values in
the 'style' and 'format' drop down boxes ?
It seems that the fckstyles.xml file only changes the 'style' dropdown not the format dropdown?
If I wanted to add my own style how would this be achieved?
e.g.
contentcopybox h6
{
font-family: Arial, Helvetica, geneva, sans-serif;
font-size: 10px;
line-height: 8px;
color: #394A71;
text-decoration: none;
font-weight: normal;
}
RE: Changing the stylesheets?
In the styles dropdown you can add new elements, the syntax can be found in the fckstylex.xml file as you said, but you can only apply attributes to one element each time, the css rule that you wrote (supposing it should be .contentcopybox h6) needs two elements, a container with class contentcopybox and on h6 internal.
so you would need to define an element like a div that gets added the class contentcopybox and inside it put the heading.
RE: Changing the stylesheets?
RE: Changing the stylesheets?
<Style name="the container" element="div">
<Attribute name="class" value="contentcopybox" />
</Style>
so you create a container div with that class and inside it you create an h6.