最新回答 / cityboy123
float和margin-left可同时使用,只是你这里没有必要同时使用。float:right表示整个块向右浮动,你的块的宽度已经是100%了就没有必要向右浮动了,margin-left代表的是左边界宽度,不影响float浮动。
2016-01-29
最赞回答 / QLwang_web
.left{ width:200px;height:500px;position:absolute;left:0;top:100px;background:blue;}.right{background:#9C9;height:500px;margin-left:210px;}这样就可以了,right没有定义宽度会随main后立即加载
2016-01-26
最新回答 / 前端技术qqz
你把.right{width:300px;height:500px;background:#993366;position:absolute;right:o;top:o}改为.right{width:300px;height:500px;background:#993366;position:absolute;right:0;top:0}
2016-01-24
最新回答 / 慕移动9181930
A选项标识符不能以数字开头;C选项标识符中不能包含%;D选项标识符中不能包含空格或者在页面内写个脚本也行。取标题长度,如果超过指定值,则substr一下,然后在后面 '...';
2016-01-17