<style>
.box1 {
float:left;
width:200px;
height:100px;
background-color:#234234;}
.box2 {
display:inline-block;
width:200px;
height:100px;
background-color:#666666;
margin-left:10px;}
</style>
<body>
<div class="box1"></div>
<div class="box2"></div>
</body>
출처 : https://woodstar.tistory.com/52