客户要求保存原有的img已在的属性,郁闷,继续改 代码如下: function shownew(content,ntype) shownew = "" if(ntype = 1) then shownew = shownew &" <TABLE width=100% >" shownew = shownew &"<TR>" shownew = shownew &" <TD width=700 align=center style='word-break:break-all' valign=top>"&ShowPic(content)&"</TD>" shownew = shownew &"</TR>" shownew = shownew &"<TR>" shownew = shownew &" <TD valign=top style='word-break:break-all'>"&OnlyWord(content)&"</TD>" shownew = shownew &"</TR>" shownew = shownew &"</TABLE>" elseif (ntype = 2) then shownew = shownew &" <TABLE width='100%'>" shownew = shownew &"<TR>" shownew = shownew &" <TD style='word-break:break-all' valign=top>"&OnlyWord(content)&"</TD>" shownew = shownew &"</TR>" shownew = shownew &"<TR>" shownew = shownew &" <TD align=center width=700 valign=top style='word-break:break-all'>"&ShowPic(content)&"</TD>" shownew = shownew &"</TR>" shownew = shownew &"</TABLE>" elseif (ntype = 3) then shownew = shownew &"<TABLE>" shownew = shownew &"<TR>" shownew = shownew &"<TD width=100 align=center valign=top>"&ShowPic(content)&"</TD>" shownew = shownew &"<TD width=80% style='word-break:break-all' valign=top>"&OnlyWord(content)&"</TD>" shownew = shownew &"</TR>" shownew = shownew &"</TABLE>" elseif (ntype = 4) then |