<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0057)file:///F:/test/%E7%9B%92%E5%AD%90%E6%A8%A1%E5%9E%8B.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>盒子模型</title>
<style type="text/css">
div{
border:5px red solid;
width:500px;
height:300px;
}
.class1{
margin-bottom: 6px;
border-bottom-width: 10px;
padding-top: 10px;
}
</style>
</head>
<body>
<div class="class1">这里是一个div</div>
<div>这里是一个div</div>
</body>
</html>