Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,我正在使用 960.gs,出于某些设计目的,我想要一个 100% 宽度的线与我的标题元素。但是我不能让它正常工作而不必包含多个容器,我并不完全赞成。
所以我的问题是这样的;我怎样才能在我的页面顶部有一个 100% 宽度的 div,并让该 div 的内容遵循网格系统?
先感谢您!
如果我猜到这是你想要的:
<div style="width: 100%; ..."> <div class="container_12"> your grid layout here </div> </div>