1.style中设置宽高,背景色以及滚动条,之后里面的内容随意编辑咯
<div contenteditable="true" style="width:400px;height:200px;background-color:white;OVERFLOW-Y: auto; OVERFLOW-X:hidden;">
</pre><pre name="code" class="html"><span style="white-space:pre"> </span>
/div>
<div contenteditable="true" style="width:400px;height:200px;background-color:white;OVERFLOW-Y: auto; OVERFLOW-X:hidden;">
</pre><pre name="code" class="html"><span style="white-space:pre"> </span>
/div>