I have a doc with this source:
<p>Hello world!</p>
Is it possible to add a css style WITHOUT adding surrounding <font> tags?, like this:
<font class="Blue"><p>Hello world!</p></font>
There are a number of problems with adding new tags when applying a style. Any help with this matter is greatly appreciated.
<p>Hello world!</p>
Is it possible to add a css style WITHOUT adding surrounding <font> tags?, like this:
<font class="Blue"><p>Hello world!</p></font>
There are a number of problems with adding new tags when applying a style. Any help with this matter is greatly appreciated.

RE: Apply CSS styles without adding <font>
In CSS there are several ways to do this. You can add style-color information in the P tag:
<p class="blue">Hello world!</p>
or
<p style="color:blue;">Hello world!</p>
I believe FCKeditor typically does add a span or div tag surrounding your selection with classes applied.
RE: Apply CSS styles without adding <font>
RE: Apply CSS styles without adding <font>
It's actually tries to be somewhat smart about what it adds - it sometimes tries to remove extra tag sets - but not always.
I do have problems with it's selection and application of tags though.
But not sure why the extras cause you problems? are you parsing the html afterwards or something?
Kristi
RE: Apply CSS styles without adding <font>
I'm finding it nearly impossible to apply even the most basic formatting using the stylesheet. There must be a way?!?
RE: Apply CSS styles without adding <font>
Are you sure you're set up to use the STYLE drop down, and are not using the FONT drop down?
and I should probably clarify - you're not using the 2.0 version are you? I'm still on the older version.
RE: Apply CSS styles without adding <font>
You can change the surrounding tag that is applied by tweaking the Javascript. The default appears to be <font>, it can also be changed to <span> or <div>. However, regardless of what it is changed to, it is still adding tags.
Shucks - I may try adding the div - that may help.
RE: Apply CSS styles without adding <font>
RE: Apply CSS styles without adding <font>