Genii Weblog


Civility in critiquing the ideas of others is no vice. Rudeness in defending your own ideas is no virtue.


Wed 19 Apr 2006, 11:10 AM
As I wrote about in my earlier post Who's wagging whom?, FCKeditor may be a great editor, but it has a few quirks that have forced us to change CoexEdit in ways I wouldn't have though necessary.  Along with the alignment issue identified there, there is an even more annoying issue with the use of font tags instead of CSS styles.  If I have three words sized and colored as below with CSS:

10 pt blue 14 pt green 18 pt pink


which has the HTML code of:

<span style="font-size: 10pt; color: blue; ">10 pt blue </span><span style="font-size: 14pt; color: green">14 pt  green </span><span style="font-size: 18pt; color: pink; ">18 pt pink </span>

and I use FCKeditor, it will display correctly.  If I then highlight all three at once and try to switch to red, the colors won't change visibly, because FCKeditor will simply add the font tag to make:

<font color="#ff0000"><span style="font-size: 10pt; color: blue; ">10 pt blue </span><span style="font-size: 14pt; color: green">14 pt  green </span><span style="font-size: 18pt; color: pink; ">18 pt pink </span></font>

and Internet Explorer will assume correctly that the CSS overrides the font tag.  Grrr!!!  FCKeditor doesn't look for the color styles.  So, we have had to make a change to use font tags, which gives less fine control over the size, but which works with FCKeditor.

Unless somebody knows how to get FCKeditor to pay attention to the CSS?  Anybody?

Copyright © 2006 Genii Software Ltd.

Tags: