<iframe id="Editor" name="Editor" src="/HtmlEditor/index.html?ID=txtContent" frameborder="0"
scrolling="No" style="height: 200px; width: 300px;"
onload="window.frames['Editor'].document.getElementById('HtmlEditor').style.height='260px';">
</iframe>
<asp:HiddenField ID="txtContent" runat="server" />
HtmlEditor (在线html编辑器)的使用
最新推荐文章于 2025-09-28 09:09:49 发布
本文介绍了一个HTML编辑器中iframe元素的高度如何根据内容自动调整。通过监听页面加载事件并修改内部样式来实现高度自适应。
1115

被折叠的 条评论
为什么被折叠?



