body{?margin:0;?padding:0;?font-size:30px;?font-weight:bold}
.header{height:?100px;background:?#777;}
.content{height:700px;background:?#000;}
.left{?width:240px;?height:600px;?background:#ccc;?position:absolute;?left:0;?top:100}
.main{?height:600px;?margin:0?240px;?background:#9CF}
.right{?height:600px;?width:240px;?position:absolute;?top:100;?right:0;?background:#FCC;}<body>
????<div?class="header"></div>
<div?class="content">
???? <div?class="left">left</div>
???? <div?class="main">main</div>
???? <div?class="right">right</div>
???? </div>
</body>很簡單的三列布局,為什么右測一欄總會跑到下面去
- 4 回答
- 2 關注
- 2602 瀏覽
相關問題推薦
添加回答
舉報
0/150
提交
取消