网页css问题:a统一做了样式设定,给第二个a内部又加了样式单独进行设定,但是这个单独的样式却不起作用,
<ahref="javascript:void(0)">全部</a><aclass="recipesortfront"href="javascript:void(0)">...
<a href="javascript:void(0)">全部</a>
<a class="recipesortfront" href="javascript:void(0)">素菜</a>
这是a及recipesortfront样式的设定:
.recipesort a{ float:left; margin:9px 10px; font:12px "宋体";color:#453C37; text-align:center; text-decoration:none;}
.recipesortfront{ font-size:18px;font-weight:bold; color:#F30;} 展开
<a class="recipesortfront" href="javascript:void(0)">素菜</a>
这是a及recipesortfront样式的设定:
.recipesort a{ float:left; margin:9px 10px; font:12px "宋体";color:#453C37; text-align:center; text-decoration:none;}
.recipesortfront{ font-size:18px;font-weight:bold; color:#F30;} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询