主题:关于在线编辑器插入图片的问题!各位请帮帮我
我用在线编辑器添加文字时,不插图片是好的,一插入图片就会出现这样的情况
[img]http://www.5888666.com/liuliu/upload/cuowu1.jpg[/img]
添加完以后,我去修改页看就出现这样的情况了
添加页的代码是这样的:
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
background-color: #D0F0FF;
}
body,td,th {
font-size: 12px;
}
-->
</style><form name="myform" method="post" action="add_wenji_ok.asp">
<table width="47%" height="176" border="1" align="center" cellpadding="2" cellspacing="2" bgcolor="#66CCFF">
<tr>
<td width="14%" height="32">文章标题 </td>
<td width="86%"><input name="title" type="text" id="title" size="35"></td>
</tr>
<tr>
<td height="32">文章类别</td>
<td height="32"><input name="classs" type="text" id="classs2" size="35"></td>
</tr>
<tr>
<td colspan="2">文章内容</td>
</tr>
<TR>
<TD colspan="2">
<INPUT type="hidden" name="conent" value="<p> 暂无内容</p>">
<IFRAME ID="eWebEditor1" src="eWebEditor/ewebeditor.asp?id=conent&style=s_coolblue" frameborder="0" scrolling="no" width="550" height="350"></IFRAME>
</TD>
</TR>
<TR>
<TD colspan="2" align=right>
<INPUT type=submit name=b1 value="提交">
<INPUT type=reset name=b2 value="重填">
<INPUT type=button name=b3 value="查看源文件" onclick="location.replace('view-source:'+location)">
</TD>
</TR>
<tr>
<td colspan="2"> </td>
</tr>
<tr align="center">
<td colspan="2">
</td>
</tr>
</table>
</form>
<IFRAME WIDTH=0 HEIGHT=0></IFRAME>
修改页的代码是这样的:
<!--#include file="conn.asp"-->
<%
sql="select * from wenji where id="&clng(request("id"))
rs.open sql,conn,1,1
%>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
background-color: #D0F0FF;
}
body,td,th {
font-size: 12px;
}
-->
</style><form name="myform" method="post" action="updata_wenji.asp?id=<%=rs("id")%>" onSubmit="return CheckForm();">
<table width="47%" height="176" border="1" align="center" cellpadding="2" cellspacing="2" bgcolor="#66CCFF">
<tr>
<td width="14%" height="32">文章标题 </td>
<td width="86%"><input name="title" type="text" id="title" value="<%=rs("title")%>" size="35"></td>
</tr>
<tr>
<td height="32">文章类别</td>
<td height="32"><input name="classs" type="text" id="classs2" value="<%=rs("classs")%>" size="35"></td>
</tr>
<tr>
<td colspan="2">文章内容</td>
</tr>
<TR>
<TD colspan="2">
<INPUT type="hidden" name="conent" value="<%=rs("conent")%>">
<IFRAME ID="eWebEditor1" src="eWebEditor/ewebeditor.asp?id=conent&style=s_coolblue" frameborder="0" scrolling="no" width="550" height="350"></IFRAME>
</TD>
</TR>
<TR>
<TD colspan="2" align=right>
<INPUT type=submit name=b1 value="提交">
<INPUT type=reset name=b2 value="重填">
<INPUT type=button name=b3 value="查看源文件" onclick="location.replace('view-source:'+location)">
</TD>
</TR>
<tr>
<td colspan="2"> </td>
</tr>
<tr align="center">
<td colspan="2">
</td>
</tr>
</table>
还请各位帮我看看是怎么回事,给我点提示也行啊,我刚学不久, 这个问题怎么也解决不了。谢谢各位了!
[img]http://www.5888666.com/liuliu/upload/cuowu1.jpg[/img]
添加完以后,我去修改页看就出现这样的情况了
添加页的代码是这样的:
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
background-color: #D0F0FF;
}
body,td,th {
font-size: 12px;
}
-->
</style><form name="myform" method="post" action="add_wenji_ok.asp">
<table width="47%" height="176" border="1" align="center" cellpadding="2" cellspacing="2" bgcolor="#66CCFF">
<tr>
<td width="14%" height="32">文章标题 </td>
<td width="86%"><input name="title" type="text" id="title" size="35"></td>
</tr>
<tr>
<td height="32">文章类别</td>
<td height="32"><input name="classs" type="text" id="classs2" size="35"></td>
</tr>
<tr>
<td colspan="2">文章内容</td>
</tr>
<TR>
<TD colspan="2">
<INPUT type="hidden" name="conent" value="<p> 暂无内容</p>">
<IFRAME ID="eWebEditor1" src="eWebEditor/ewebeditor.asp?id=conent&style=s_coolblue" frameborder="0" scrolling="no" width="550" height="350"></IFRAME>
</TD>
</TR>
<TR>
<TD colspan="2" align=right>
<INPUT type=submit name=b1 value="提交">
<INPUT type=reset name=b2 value="重填">
<INPUT type=button name=b3 value="查看源文件" onclick="location.replace('view-source:'+location)">
</TD>
</TR>
<tr>
<td colspan="2"> </td>
</tr>
<tr align="center">
<td colspan="2">
</td>
</tr>
</table>
</form>
<IFRAME WIDTH=0 HEIGHT=0></IFRAME>
修改页的代码是这样的:
<!--#include file="conn.asp"-->
<%
sql="select * from wenji where id="&clng(request("id"))
rs.open sql,conn,1,1
%>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
background-color: #D0F0FF;
}
body,td,th {
font-size: 12px;
}
-->
</style><form name="myform" method="post" action="updata_wenji.asp?id=<%=rs("id")%>" onSubmit="return CheckForm();">
<table width="47%" height="176" border="1" align="center" cellpadding="2" cellspacing="2" bgcolor="#66CCFF">
<tr>
<td width="14%" height="32">文章标题 </td>
<td width="86%"><input name="title" type="text" id="title" value="<%=rs("title")%>" size="35"></td>
</tr>
<tr>
<td height="32">文章类别</td>
<td height="32"><input name="classs" type="text" id="classs2" value="<%=rs("classs")%>" size="35"></td>
</tr>
<tr>
<td colspan="2">文章内容</td>
</tr>
<TR>
<TD colspan="2">
<INPUT type="hidden" name="conent" value="<%=rs("conent")%>">
<IFRAME ID="eWebEditor1" src="eWebEditor/ewebeditor.asp?id=conent&style=s_coolblue" frameborder="0" scrolling="no" width="550" height="350"></IFRAME>
</TD>
</TR>
<TR>
<TD colspan="2" align=right>
<INPUT type=submit name=b1 value="提交">
<INPUT type=reset name=b2 value="重填">
<INPUT type=button name=b3 value="查看源文件" onclick="location.replace('view-source:'+location)">
</TD>
</TR>
<tr>
<td colspan="2"> </td>
</tr>
<tr align="center">
<td colspan="2">
</td>
</tr>
</table>
还请各位帮我看看是怎么回事,给我点提示也行啊,我刚学不久, 这个问题怎么也解决不了。谢谢各位了!