First, this is my first post, so I want to say thanks for such a cool tool for web development. Really, big thanks to FCK.
Now, a question: Can FCKEditor be styled with specific ID-Tag combinations?
I want FCKEditor to display styles for a specific ID-tag combination because that's how I style the HTML sent to the browser.
EXAMPLE CSS
#Content h1 {
font-size: 18px;
}
#Content p {
font-size: 12px;
}
EXAMPLE HTML
<div id="Content">
<h1>Blah Blah Head Line</h1>
<p>A paragraph of great text saying nothing at all.</p>
</div>
Can FCKEditor be styled with these ID-Tag combinations?
===
My Results So Far
I put FCKEditor in a <div id="Content">, but it doesn't display the styles.
I have FCKEditor using my style sheet, but it only displays the H1 an P styles if they are alone like this.
p {
font-size: 12px;
}
h1 {
font-size: 18px;
}
BIG THANKS AGAIN FOR A COOL TOOL.
Now, a question: Can FCKEditor be styled with specific ID-Tag combinations?
I want FCKEditor to display styles for a specific ID-tag combination because that's how I style the HTML sent to the browser.
EXAMPLE CSS
#Content h1 {
font-size: 18px;
}
#Content p {
font-size: 12px;
}
EXAMPLE HTML
<div id="Content">
<h1>Blah Blah Head Line</h1>
<p>A paragraph of great text saying nothing at all.</p>
</div>
Can FCKEditor be styled with these ID-Tag combinations?
===
My Results So Far
I put FCKEditor in a <div id="Content">, but it doesn't display the styles.
I have FCKEditor using my style sheet, but it only displays the H1 an P styles if they are alone like this.
p {
font-size: 12px;
}
h1 {
font-size: 18px;
}
BIG THANKS AGAIN FOR A COOL TOOL.
Re: Displaying Styles for specific IDs
In the config file,
FCKConfig.BodyId = 'Content' ;