如果只想去掉li标签的点
在<head>和</head>之间加入代码
<style type="text/css">
<!--
#li {list-style-type:none; color:#000000;}
-->
</style>
如果要左对齐的话
在你的<head>和</head>之间加入代码
<style type="text/css">
<!--
#li {list-style-type:none; color:#000000;}
#ul {margin:0; padding:0; text-align:left;}
-->
</style>
本文介绍如何通过CSS去除HTML中LI标签的默认项目符号,并实现文本左对齐的效果。适用于前端开发者快速调整无序列表的样式。
8073

被折叠的 条评论
为什么被折叠?



