css 中的float在文档之外的理解
<html>
<head>
<style type="text/css">
.main{
float:right;
margin:10px 20px 30px 40px;
}
.secondary{
}
</style>
</head>
<body>
<div class="wrapper">
<div class="first">
test
</div>
<div class="main">
main
</div>
<div class="secondary">
secondary
</div>
</div>
</body>
</html>
效果 选中wrapper
main 在之外了