<!DOCTYPE html>
<html>
<head>
<title>bstore.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<style type="text/css">
在head中添加这两句
————————————————————————————————
.clearfloat:after{display:block;clear:both;content:"";visibility:hidden;height:0}
.clearfloat{*zoom:1}
————————————————————————————————
.top_1{
float: left;
}
}
</style>
</head>
<body>
在父类中添加clearfloat
<div class="top clearfloat">
——————————————
<div class="top_1">html01</dvi>
<div class="top_2">html02</div>
</div>
</body>