`
akunamotata
  • 浏览: 373967 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

<div> 文本域换行问题

    博客分类:
  • note
阅读更多
<style>
    #inputText1{
			width:750px;
			height:300px;
			overflow-x:hidden;
			overflow-y:auto;
			background-color: #FFFFFF;
			border-top-width: 1px;
			border-right-width: 1px;
			border-bottom-width: 1px;
			border-left-width: 1px;
			border-top-style: groove;
			border-right-style: inset;
			border-bottom-style: inset;
			border-left-style: inset;
			border-top-color: #CCCCCC;
			border-right-color: #CCCCCC;
			border-bottom-color: #CCCCCC;
			border-left-color: #CCCCCC;
    }
</style>

......
<a:html>method="post" onSubmit="eval('inputText').value=eval('inputText1').innerHTML"</a:html>
......
<input type="hidden" id="inputText" name="pubInfo.inputText" data=""/>
<div id="inputText1" contenteditable>
</div>

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics