Asking a question about style, the HTML code is as follows
<div> <div style='background-color:#e0e;width:100px;height:100px;display:inline-block;'> </div> <div style='background-color:#e0e;width:100px;height:100px;display:inline-block;'></div></div>
You can use float:left to achieve this effect