我使用S tephen Bau's 960 fluid grid,我不認爲它可以與嵌套網格一起工作,因爲每個網格都是其父網格的百分比,除非我錯過使用它。960流體網格中的設計缺陷還是我濫用?
在樣式表
.grid_12 { width:98%, }
因此,如果視區是1200像素然後<頁眉/ >是1176px,則嵌套< NAV/>網格是那使它1152.48px 98% - 如果它是定期960定格都將是相同的寬度
<div id="wrap" class="container_12">
<header class="grid_12">
<div id="logo" class="grid_6 alpha">
.. logo img ...
</div>
<div id="uti" class="grid_5 prefix_1 omega">
.. util menu ...
</div>
<nav class="grid_12">
.. nav list ..
</nav>
</header>
<div id="content class="grid_12">
<div id="main-content" class="grid_12 clearfix">
<div id="col-1" class="grid-9 alpha">
</div>
<div id="col-2" class="grid-3 omega">
</div>
</div>
</div>
<footer class="grid_12 clearfix">
</footer>
</div>