FireFox下表格整体为什么不能居中?(内有代码)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
body {
font-family: "宋体", Arial, Helvetica, sans-serif;
font-size:13px;
line-height:150%;
margin:1px;
padding:1px;
text-align:center;
}
/* =container 使用该元素应用背景色 */
#container {
min-width:1010px;
width:expression(document.body.clientWidth < 1010? "1010px" : "auto");/* 微软IE中限定最小宽度*/
margin:1px, auto;
padding:0px;
}
#mainZone{
margin:0, auto;
padding:0px;
table-layout:fixed;
width:900px;
border: 1px solid aqua;
}
</style>
<title>Insert title here</title>
</head>
<body><div id="container">
<div id="mainZone"><table><tr>
<td id="leftZone">
</td>
<td id="rightZone">
</td>
</tr></table></div>
</div></body>
</html>
------解决方案--------------------
margin:0, auto; ==> margin: 0 auto;