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.
我必须实现这个 div 网格。它不会经常更改,但可能会在某个时候更改(意味着可能会删除一个框,并调整另一个框的大小)。每个黑匣子最终都会包含一个图像或一个单词,但这并不重要。
我该如何解决这个问题?有没有比绝对定位每个盒子并手动输入每个 X/Y/宽度/高度更优雅的方法?
我建议使用基于网格的方法。像:http: //960.gs/
编辑(更多选项)
http://developer.yahoo.com/yui/grids/
http://cssgrid.net/