<span style="font-size:18px;"><style type="text/css">
body{
margin:0px;
padding:0px;
}
.left{
width:20%;
height:500px;
background:#333;
float:left;
}
.right{
width:80%;
height:500px;
background:#999;
float:right;
}
.main{
width:800px;
height:500px;
margin:0 auto;
}
</style>
</head>
<body>
<div class="main">
<div class="left">300px;</div>
<div class="right">300px;</div>
</div>
</body></span>
两列布局代码示例
最新推荐文章于 2024-02-05 10:28:48 发布