CSS代码编写用“横式”还是“纵式”?
Author:52css Data:2009-10-26
Example Source Code [www.52css.com]body { margin:0 auto; font-size: 12px; color:#555555; background:#64748B;}
ul,li{ margin:0; pading:0; list-style:none;}
.clear{ clear:both;}
a { color: #555; text-decoration:none;}
a:hover { color: #364d6f; text-decoration:underline;}
a:visited { color: #364d6f;}
img{border:0;}
ul,li{ margin:0; pading:0; list-style:none;}
.clear{ clear:both;}
a { color: #555; text-decoration:none;}
a:hover { color: #364d6f; text-decoration:underline;}
a:visited { color: #364d6f;}
img{border:0;}
Example Source Code [www.52css.com]#mainBox{ width:1002px; height:auto; margin:0 auto; overflow:hidden; background:#ccffcc;}
#headerBox{ width:1002px; height:100%; text-align:center; overflow:hidden; background:#ccc;}
#midBox{ width:1002px; height:100%; padding-left:100px;overflow:hidden; background:#FFF;}
#footerBox{ width:1002px; height:100%; text-align:center; overflow:hidden; background:#ccc;}
#headerBox{ width:1002px; height:100%; text-align:center; overflow:hidden; background:#ccc;}
#midBox{ width:1002px; height:100%; padding-left:100px;overflow:hidden; background:#FFF;}
#footerBox{ width:1002px; height:100%; text-align:center; overflow:hidden; background:#ccc;}
评论: 4 | 查看次数: 3718
- 1
无所谓,反正规整点就好
习惯了横式书写
支持横式,代码明了,但还是要注意点细节这样才能体现它最大优点
我喜欢用横式,页面占用少,不用来回拖动
- 1
发表评论
你没有权限发表留言!

Article Provenance:
Article Tags: 

