<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
960 Grid System是一个非常流行的CSS框架,它是国外最成熟的CSS框架之一,而且结构清晰,代码简洁,容易上手。
960的基本原理是网格技术,而且960是CSS 网格技术的最完美实现。 网格技术是最近两年才出现的一种网页布局方法,它的原理是将页面平均分割成N列,然后通过组合相应数量的列来完成对页面的布局。
以往的960框架只包含12列和16列的布局,其网格间距为20px,这样对于英文类网站就比较适合,但是对于中文网站(特别的目前要应付各级领导的网站),就不太适合,不符合中国人的审美,导致我在每次使用960系统时还要对其代码进行适当修改。
好在近期960 Grid System的创始人nathan smith已经针对这种情况做出了改进,增加了24列的布局模式,网格间距改为了10px。这样就大大提高了960系统的适用性和灵活性,也更符合中国人的审美了。
nathan smith是这样解释新的24列布局的:“For those more comfortable designing on a 24-column grid, an alternative version is also included. It consists of columns 30 pixels wide, with 10 pixel gutters, and a 5 pixel buffer on each side of the container. This keeps text from touching browser chrome — helpful for devices like the iPhone, where a lower-case "i" or "l" might be easily missed.”
- 查看960 Grid System的24列布局请访问DEMO:http://960.gs/demo_24_col.html
- 查看960 Grid System的12列或16列布局请访问DEMO:http://960.gs/demo.html
- 查看960 Grid System的使用介绍请访问:《使用960网格系统(960 Grid System)设计网页》
- 下载960 CSS框架请访问:http://960.gs/
<script src="http://www.google.com/reader/ui/publisher.js" type="text/javas<script src="http://www.google.com/reader/public/javascript/user/00697638153916680411/state/com.google/broadcast?n=5&callback=grc_p(%7bc%3a%22green%22%2ct%3a%22%5cu8fd9%5cu4e9b%5cu6587%5cu7ae0%5cu4e5f%5cu503c%5cu5f97%5cu4e00%5cu770b%22%2cs%3a%22false%22%7d)%3bnew%20grc" type="text/javascript"></script>B%5Cu6587%5Cu7AE0%5Cu4E5F%5Cu503C%5Cu5F97%5Cu4E00%5Cu770B%22%2Cs%3A%22false%22%7D)%3Bnew%20GRC" type="text/javascript">