快捷导航

请问代码有错吗,为什么我的网页显示不了<li>的内容,如图,还有为什么

代码如下:菜单导航栏-购物列表*{padding:0;margin:0;}li,ul{list-style:none}.nav_bg{background:#ce2626;width:100%;color:#fff}.nav_content{width:100%;margin:0 auto;height:40px;line-height:40px}.nav(width:100%px;float:left;margin-left:200px).nav li{font-size:16px;font-weight:700;color:#fff;width:80px;float:left;text-align:center;margin-right:15px}.orange{font-weight:700;color:#f60}.nav_active{background:#b12121}a.white{color:#fff;text-decoration:none}a.white:hover{color: #ff0;text-decoration: none}         
      
  • 首页  
  •   最新上架      
  • 品牌活动      
  • 原厂直供      
  • 团购      
  • 限时抢购      
  • 促销打折   

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员1


标绿线的最后要加分号,标红线的地应该是不对的,应该为ul空格li
回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP