<div class="grid"> <div class="col2"> <a href="#home" id=‘navbar_home‘ class=‘icon home‘ >两列第一列测试</a> </div> <div class="col2"> <a href="#home" id=‘A1‘ class=‘icon picture‘ >两列第二列测试</a> </div> </div> <br /><br /> <div class="grid"> <div class="col3"> <a href="#home" id=‘A2‘ class=‘icon home‘ >三列测试</a> </div> <div class="col3"> <a href="#home" id=‘A3‘ class=‘icon picture‘ >三列测试</a> </div> <div class="col3"> <a href="#home" id=‘A4‘ class=‘icon home‘ >三列测试</a> </div> <div class="col3"> <a href="#home" id=‘A11‘ class=‘icon picture‘ >三列测试</a> </div> </div> <br /><br /> <div class="grid"> <div class="col1-3"> <a href="#home" id=‘A5‘ class=‘icon home‘ >三列测试</a> </div> <div class="col1-3"> <a href="#home" id=‘A15‘ class=‘icon home‘ >三列测试</a> </div> <div class="col1-3"> <a href="#home" id=‘A16‘ class=‘icon home‘ >三列测试</a> </div> <div class="col2-3"> <a href="#home" id=‘A6‘ class=‘icon home‘ >三列测试占居两列</a> </div> <div class="col1-3"> <a href="#home" id=‘A19‘ class=‘icon home‘ >三列测试</a> </div> </div>
原文:http://blog.csdn.net/xuexiaodong009/article/details/18351517