<style type="text/css">
ul {
margin: 0 auto;
width: 300px;
height: 200px;
background-color: #FFFF00;
/*text-align: center;*/
}
li {
display: inline;
list-style: none;
background-color: bisque;
padding: 0px;
margin: 0px;
}
</style>
<body>
<ul>
<li>前面的空格?</li>
</ul>
</body>
PHP中文网 2017-04-17 13:54:212楼
ul padding
赞 +0添加回复
天蓬老师 2017-04-17 13:54:211楼
其实,我也是百度来的^_^
赞 +0添加回复