<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>两列布局实例</title>
<style>
.mainBox{
width: 960px;
height: 300px;
background: #cff;
margin: 0 auto;
}
.leftBox{
width: 740px;
height: 300px;
background:#C9F;
float: left;
margin-right: 10px;
}
.rightBox{
width: 210px;
height: 300px;
background: #fcf;
float: left;
}
</style>
</head>
<body>
<div class="mainBox">
<div class="leftBox"></div>
<div class="rightBox"></div>
</div>
</body>
</html>
点击查看更多内容
为 TA 点赞
15 评论
共同学习,写下你的评论
作者其他优质文章
正在加载中
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
转载来转载去。最好还是贴原始作者的链接吧。
我查的好像是这个 http://www.cnblogs.com/zxin/archive/2013/01/26/2877765.html 原作者的格式好歹好好一些