首页 >社区问答列表 >html5 - li 前面的默认空格怎么去掉?

html5 - li 前面的默认空格怎么去掉?

<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>