首页 > Web开发 > 详细

[css layout][120]Liquid, three columns, hybrid widths

时间:2014-01-30 01:32:26      阅读:390      评论:0      收藏:0      [点我收藏+]

bubuko.com,布布扣

 

 

1.left, left,left

bubuko.com,布布扣
 1 #wrapper {
 2   float: left;
 3   width: 100%;
 4 }
 5 #content {
 6   margin: 0 200px 0 33%;
 7 }
 8 #navigation {
 9   float: left;
10   width: 33%;
11   margin-left: -100%;
12 }
13 #extra {
14   float: left;
15   width: 200px;
16   margin-left: -200px;
17 }
18 #footer {
19   clear: both;
20 }
bubuko.com,布布扣

 

 

2.right, right, right

bubuko.com,布布扣
 1 #wrapper {
 2   float: right;
 3   width: 100%;
 4 }
 5 #content {
 6   margin: 0 200px 0 33%;
 7 }
 8 #navigation {
 9   float: right;
10   width: 33%;
11   margin-right: -33%;
12 }
13 #extra {
14   float: right;
15   width: 200px;
16   margin-right: -100%;
17 }
18 #footer {
19   clear: both;
20 }
bubuko.com,布布扣

[css layout][120]Liquid, three columns, hybrid widths

原文:http://www.cnblogs.com/qiudeqing/p/3536306.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!