1
我打這個多發性ID蒙山一個規則
#center-1, #center-2, #center-2, #center-3, #center-4,
#center-5, #center-6, #center-7, #center-8 { float: left; width:360px; }
HTML:
<div id="centerColumn">
<div id="center-1"></div>
<div id="center-2"></div>
<div id="center-3"></div>
<div id="center-4"></div>
<div id="center-5"></div>
<div id="center-6"></div>
<div id="center-7"></div>
<div id="center-8"></div>
</div>
,它不工作,有人可以解釋我爲什麼?
可以在http://jsfiddle.net/ – sandeep
中顯示一個示例是否在html id屬性中有效? –
但它適用於我檢查http://jsfiddle.net/sandeep/RBA5r/可能存在其他問題 – sandeep