0
這應該是一個非常簡單的將容器置於頁面中心的過程。容器不會中心....不能解決問題
<style type="text/css">
body{
margin: 0;
padding: 0;
}
#container{
width:960px;
float:left;
margin:0 auto;
}
</style>
...
<div id="container">
Content
</div>
有誰能告訴我爲什麼container
不居中?
感謝
你的意思是水平居中,垂直或兩者兼而有之? – acme 2012-04-05 15:18:29
我碰巧注意到你的CSS不在'