<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <link rel="stylesheet" href="css/reset.css" /> <link rel="stylesheet" href="css/text.css" /> <link rel="stylesheet" href="css/960.css" /> </head> <body> <div class="container_12"> <div class="grid_12 clearfix"> <div class="grid_2 alpha">111</div> <div class="grid_8">222</div> <div class="grid_2 omega">333</div> </div> <!--添加间距--> <div class="grid_12 clearfix"> <div class="grid_6 suffix_2 alpha">444</div> <div class="grid_2 prefix_2 omega">555</div> </div> <!--重新排序--> <div class="grid_2 push_10">a到c</div> <div class="grid_8 pull_2">b到a</div> <div class="grid_2 pull_2">c到b</div> <div class="clear"></div> <!-- clear添加标签的清除浮动 clearfix不添加标签的清除浮动 grid栅格 alpha开始omega终了 prefix前缀suffix后缀 pull拉push推 --> </div> </body> </html>
960 Grid System
http://960.gs/