做一个手机网页只要是九宫格样式的,不要用表格布局就行谢谢大家了在线等,不用漂亮,点击后能连接到别的网页就行
------解决方案--------------------------------------------------------
- HTML code
<style type="text/css">.container { width: 300px; height: 900px }.container .item { float: left; width: 100px; height: 100px; }</style><div class="container "> <div class="item" style="background: #CCC"></div> <div class="item" style="background: #333"></div> <div class="item" style="background: #aaa"></div> <div class="item" style="background: #aaa"></div> <div class="item" style="background: #CCC"></div> <div class="item" style="background: #333"></div> <div class="item" style="background: #333"></div> <div class="item" style="background: #AAA"></div> <div class="item" style="background: #CCC"></div></div>