abstract:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>css中的浮動(dòng)</title> <style type="text/css"> ul li{list-style: non
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>css中的浮動(dòng)</title>
<style type="text/css">
ul li{list-style: none;float: left;width: 50px; height: 40px line-height:40px;background-color: #ccc;margin: 0px 5px; }
</style>
</head>
<body>
<div>
<ul>
<li>導(dǎo)航1</li>
<li>導(dǎo)航2</li>
<li>導(dǎo)航3</li>
</ul>
</div>
</body>
</html>
Correcting teacher:滅絕師太Correction time:2018-12-20 09:44:13
Teacher's summary:沒(méi)有達(dá)到測(cè)試目的呀!在前端布局中浮動(dòng)是魔鬼奧!需要熟練