用CSS盒子做框架
<style>
*{
padding: 0;
margin: 0;
}
.content{
margin: 10px auto;
width: 900px;
height: 600px;
border: 2px dotted black;
display: table;
}
.content div{
width: 260px;
height: 260px;
background-color: bisque;
display: inline-block;
margin: 20px;
font-size: 50px;
text-align: center;
line-height: 260px;
color: #000000;
}
</style>
</head>
<body>
<div class="content">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
</div>
</body>