GetSimple Support Forum

Full Version: Editor doesn't save the Italic style
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

Using the Editor I can't save the Italic style on a label.
I mean, the editor display the label in Italic style, but after saving the label is displayed without the Italic style applied.
Any suggestion.
Cheers.

warxsg
please give us the URL so we can check that

for sure when italic is choosen in the editor, the text is marked with
Code:
<em>

but if your CSS defines

Code:
em {font-style:normal;}

then for sure no italic text is visible

so it is necessary to have an URL to check the HTML source plus the CSS
Hi Connie,

you are 100% right :-)
In my css there is the following code :

em {
color:#b42924;
font-style: normal;
}

So, I'm gonna remove it !!!!
Many Thanks.
Cheers.

warxsg
@Connie, the <em> tag is not always desirable; sometimes italics are called for with no emphasis added. RMS Titanic is an example. When one of my characters speaks French, it should be italicized, n'est pas? I use <i lang="fr">...</i> to bracket that, and to bracket terms like homo-sapiens (<i class="term">...</i>).

The <b> and <i> tags have not been deprecated:
http://www.w3.org/International/question...and-i-tags
http://www.w3.org/TR/html-markup/i.html

Strictly correct markup would only be possible if the CKEditor didn't second-guess the author. For my part, I've never liked any WYSIWYG editor because all of them are overbearing and semi-literate.
It's up to you to define if you want to use <i> or <em>

<cite>Strictly correct markup would only be possible if the CKEditor didn't second-guess the author. For my part, I've never liked any WYSIWYG editor because all of them are overbearing and semi-literate.</cite>

this is your opinion but no help for users who want to edit the text like they know it from their text processors