使用netbeans`在css中出现意外令牌长度错误

时间:2012-04-12 06:33:07

标签: css netbeans

我已经给出了高度:css中35px,它在linux文本编辑器中工作正常,但在netbeans中显示错误。

#hori li
{
padding:0;
text-align:center;
width:7em; 
float:left;
list-style:none
height:35px;
margin-left:15px;
background:#38ACEC;
-moz-border-radius: 70px;
border-radius: 70px;
}

1 个答案:

答案 0 :(得分:1)

关闭list-style:none。像这样写list-style:none;

#hori li
{
padding:0;
text-align:center;
width:7em; 
float:left;
list-style:none;
height:35px;
margin-left:15px;
background:#38ACEC;
-moz-border-radius: 70px;
border-radius: 70px;
}