好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

list-style-type:none,为什么列表还显示项目符号?_html/css_WEB-IT

     	 	#menu li{		float:left;		width:100px;		height:20px;		text-align:center;		list-style-type:none;		background-color:#3cf;	}	#menu li a{		text-decoration:non;/**/	}	#menu li:hover{		text-decoration:line-through;		background-color:#3f9;			}  无标题文档            	 首页          博客 		 日记         


回复讨论(解决方案)

那句注释别写 里

可自行搜索 html css js的注释写法,别搞混了



改成

/*float:value;left:设置元素漂浮到父级容器的左侧;right:右侧;none:不设置漂浮。*/

查看更多关于list-style-type:none,为什么列表还显示项目符号?_html/css_WEB-IT的详细内容...

  阅读:34次