只要在编辑框里敲回车键,整体就会上移,请问如何放在表格里,还有ixEdtingArea可以改变大小吗?

解决方案 »

  1.   

    我是直接将FCKeditor配置上后,在调用它的页面写上:
    <%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
    <FCK:editor instanceName="content" basePath="/fckeditor" width="600" height="400"></FCK:editor>在fckeditor.html中相关代码是:
    <body>
    <table width="100%" cellpadding="0" cellspacing="0" height="600">
    <tr id="xToolbarRow" style="display: none" height="100">
    <td id="xToolbarSpace" style="overflow: hidden">
    <table width="100%" cellpadding="0" cellspacing="0">
    <tr id="xCollapsed" style="display: none">
    <td id="xExpandHandle" class="TB_Expand" colspan="3">
    <img class="TB_ExpandImg" alt="" src="images/spacer.gif" width="8" height="4" /></td>
    </tr>
    <tr id="xExpanded" style="display: none" height="100">
    <td id="xTBLeftBorder" class="TB_SideBorder" style="width: 1px; display: none;"></td>
    <td id="xCollapseHandle" style="display: none" class="TB_Collapse" valign="bottom">
    <img class="TB_CollapseImg" alt="" src="images/spacer.gif" width="8" height="4" /></td>
    <td id="xToolbar" class="TB_ToolbarSet"></td>
    <td class="TB_SideBorder" style="width: 1px"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td id="xEditingArea" valign="top" height="400"></td>
    </tr>
    </table>
    </body>不过不知道怎么改
      

  2.   

    <FCK:editor instanceName="content" basePath="/fckeditor" width="600" height="400"> </FCK:editor> 把这些嵌入一个table看看:
    <%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%> 
    <html>
    <body>
    <table><tr><td width="600"><FCK:editor instanceName="content" basePath="/fckeditor" width="600" height="400"> </FCK:editor> </td></tr>
    </table>
    </body>
    </html>