|
用华硕A626 POCKET PC 的IE 浏览执行以下代码, 居然是分四行输出, 而不是想要的一行四列输出.
-----------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--link type="text/css" rel="stylesheet" href="../css/style.css"-->
</head>
<body style="margin-top:1px;margin-left:1px;margin-right:1px;font-size:12px; background:url(../images/bg_01.gif);">
<form style="margin-top:0px;" name="form1" method="post" action="main.php">
<table width="400" style="text-align:center; border="0" bgColor="#Black">
<tr align="center" style="background-color:#00FFFF; height:20px; color:#666;">
<td width="100" style="background-color:#00FFFF;">一</td>
<td width="100" style="background-color:#00FFFF;">二</td>
<td width="100" style="background-color:#00FFFF;">三</td>
<td width="100" style="background-color:#00FFFF;">四</td>
</tr>
</table>
</form>
</body>
</html>
-----------------------------------------------------------------------------------------------------
为什么? 如果想做到一行四列输出, 如何处理?(别告诉我是把一二三四写成一行, 中间用空格隔开)
|
|