为什么right这么窄?我并没有设置宽度啊
<style type="text/css">
body{ margin:0; padding:0; font-size:30px; color:#fff}
.top{height:100px;background:gray;}
.main{height:500px;background:red;}
.left{height:500px;width:200px;background:blue;}
.right{height:500px;background:green;float:right;position:absolute;left:210px;}
.foot{height:100px;background:orange;}
</style>
这是我的代码,我的问题是,如果不设置width,是不是就默认占整行呢?而且我设置float:right。 right不应该在最右边吗?相当于设置了right:0。但是必须在.right{}里加right:0,就能实现了