用"+"连接
suspendcode="<DIV id=lovexin style='right:2px;POSITION:absolute;TOP:1px;'>"+
  "<TABLE height=93 width=132><TBODY><TR><TD width=140 height=51>"+
  "<P align=center><IMG height=56 src='honyie"+
  "(1).gif'width=132></P></TD></TR></TBODY></TABLE></div>"

解决方案 »

  1.   

    经过代码狂人的处理之后……suspendcode = 
      "\n <DIV id=lovexin style='right:2px;POSITION:absolute;TOP:1px;'>" 
    + "\n  <TABLE height=93 width=132>" 
    + "\n   <TBODY>" 
    + "\n    <TR>" 
    + "\n     <TD width=140 height=51>" 
    + "\n      <P align=center>" 
    + "\n       <IMG height=56  src='honyie(1).gif' width=132>" 
    + "\n      </P>" 
    + "\n     </TD>" 
    + "\n    </TR>" 
    + "\n   </TBODY>" 
    + "\n  </TABLE>" 
    + "\n </div>"
    ;
      

  2.   

    suspendcode="<DIV id=lovexin style='right:2px;POSITION:absolute;TOP:1px;'>\
    <TABLE height=93 width=132>\
    <TBODY>\
    <TR>\
    <TD width=140 height=51>\
    <P align=center><IMG height=56  src='honyie(1).gif' width=132></P>\
    </TD>\
    </TR>\
    </TBODY>\
    </TABLE>\
    </div>"
      

  3.   

    如果想让显示在客户端的对象换行就用<br>
    如果想客户原代码换行,就用、 \n,或 \r
    exg:document.write("aaaaaa<br>bbbbbbbb");看到页面上换行了,但代码不换行;<%
    Response.Write("adfafa\nfgsdgsdg")//看到代码换行了。页面上没有换行
    %>