这个是代码,在vs2005中。
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="z-index: 100; left: 0px; width: 833px; position: absolute; top: 0px" cellpadding="1" cellspacing="0">
<tr>
<td style="width: 72px; height: 173px" valign="top">
为什么会换行呢,不知</td>
<td style="width: 227px; height: 173px">
</td>
</tr>
</table>
<table id="TABLE1" cellpadding="0" cellspacing="0" style="z-index: 104;
left: 31px; position: absolute; top: 272px; height: 221px" width="1003">
<tr>
<td align="right" style="width: 46px; height: 200px"
valign="top">
发发生大幅发放的</td>
<td nowrap="nowrap" style="width: 187px; height: 200px" valign="top">
标题:<br />
<br />
内容:发大风 发放的但发发发发发发发发发试试的撒旦发发发发非法反动<br />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
显示出来就是
发发
生大
幅发
放的
------解决方案--------------------------------------------------------
改為
- HTML code
<table id="TABLE1" cellpadding="0" cellspacing="0" style="z-index: 104; left: 31px; position: absolute; top: 272px; height: 221px" width="1003" > <tr > <td align="right" style="width: 187px; height: 200px" valign="top" > 发发生大幅发放的 </td > <td nowrap="nowrap" valign="top" > 标题: <br / > <br / > 内容:发大风 发放的但发发发发发发发发发试试的撒旦发发发发非法反动 <br / > </td > </tr > </table >