`
bleach0608
  • 浏览: 61158 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

去掉li标签前面的点和左对齐

    博客分类:
  • CSS
CSS 
阅读更多

如果只想去掉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>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics