Hi All,
I am using FCKeditor to in wiki, and also try it on http://mediawiki.fckeditor.net/index.php/Sandbox, if I put the following content in editor window with Wikitext mode:
<div id="mainpage"></div><!--
------------------------------Banner across top of page------------------------------>
{| style="width:100%; background:#fcfcfc; margin-top:1.2em; border:1px solid #ccc;"
|style="width:56%; color:#000"| <!--
-----------"Welcome to Wikipedia" and article count---------->
{| style="width:280px; border:solid 0px; background:none;"
|style="width:280px; text-align:center; white-space:nowrap; color:#000;"|
<div style="font-size:162%; border:none; margin:0; padding:.1em; color:#000;">Welcome to [[Wikipedia]],</div>
<div style="top:+0.2em; font-size:95%;">the free [[encyclopedia]] that [[Wikipedia:Introduction|anyone can edit]].</div>
<div id="articlecount" style="width:100%; text-align:center; font-size:85%;">[[Special:Statistics|{{NUMBEROFARTICLES}}]] articles in English</div>
|}
It works well when I save the above code. However if I click Edit tab, and don't do any change, just click "Save page" button, it shows different without style control.
I can see the code has been changed, the styles have been changed.
<div id="mainpage"></div><!--{11989493690310} -->
{| class="FCK__ShowTableBorders" style=""
|-
| style="" | <!--{11989493690311} -->
{| class="FCK__ShowTableBorders" style=""
|-
| style="" | <div style="">Welcome to [[Wikipedia]],</div><div style="">the free [[Encyclopedia|encyclopedia]] that [http://en.wikipedia.org/wiki/Introduction anyone can edit].</div><div id="articlecount" style="">[[Special:Statistics|{{NUMBEROFARTICLES}}]] articles in English</div>
|}
|}
Does anyone know how I can fix this?
Thanks in advance,
Regards,
Bright
Sat, 12/29/2007 - 18:54
#1