<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style type="text/css">
div{
width:
200px;
height:
200px;
border:
2px solid red;
float:
left;
}
#div1{
float:
left;}
#div2{
float:
right;}
</style>
</head>
<body>
<div id="div1">栏目1</div>
<div id="div2">栏目2</div>
</body>
</html>
转载于:https://www.cnblogs.com/Riona-C/p/7141851.html
转载请注明原文地址: https://mac.8miu.com/read-52243.html