我的页面上有一个ajax htmlextender.用它评论一些东西.当评论文本有"输入"时,htmlextender会给它<p>标签.我在显示评论时使用div.
<div style="background-color:#ff0000; width:95%;"><p>note line 1</p><p> note line 2</p></div>
<div style="background-color:#ff0000; width:95%; text-align: right; font-size: 11px;">Name Surname</div>
<div style="background-color:#ff0000; width:95%; text-align: right; font-size: 11px;">02.08.2012 10:04</div>
Run Code Online (Sandbox Code Playgroud)
输出如下:

我该如何清空空行?