CSS图片链接样式
aimg{filter:Alpha(Opacity=50,FinishOpacity=50,Style=50,StartX=50,StartY=50,FinishX=50...
a img{
filter: Alpha(Opacity=50, FinishOpacity=50, Style=50, StartX=50, StartY=50, FinishX=50, FinishY=50);
border:0px;
}
a img:hover{
filter: Alpha(Opacity=100, FinishOpacity=100, Style=100, StartX=100, StartY=100, FinishX=100, FinishY=100);
border:0px;
}
a img:visted{
filter: Alpha(Opacity=50, FinishOpacity=50, Style=50, StartX=50, StartY=50, FinishX=50, FinishY=50);
border:#CCCCCC solid 1px;
border-bottom:2px #999999 solid;
border-right:2px #999999 solid;
}
<a href="#"><img src="images/ico/组织机构.gif" class="ico"></a>为什么这个样式不起作用?高手指点哪里出错了? 展开
filter: Alpha(Opacity=50, FinishOpacity=50, Style=50, StartX=50, StartY=50, FinishX=50, FinishY=50);
border:0px;
}
a img:hover{
filter: Alpha(Opacity=100, FinishOpacity=100, Style=100, StartX=100, StartY=100, FinishX=100, FinishY=100);
border:0px;
}
a img:visted{
filter: Alpha(Opacity=50, FinishOpacity=50, Style=50, StartX=50, StartY=50, FinishX=50, FinishY=50);
border:#CCCCCC solid 1px;
border-bottom:2px #999999 solid;
border-right:2px #999999 solid;
}
<a href="#"><img src="images/ico/组织机构.gif" class="ico"></a>为什么这个样式不起作用?高手指点哪里出错了? 展开
3个回答
2013-11-12
展开全部
伪类不是这么写的~a img{
filter: Alpha(Opacity=50, FinishOpacity=50, Style=50, StartX=50, StartY=50, FinishX=50, FinishY=50);
border:0px;
}
a:hover img{
filter: Alpha(Opacity=100, FinishOpacity=100, Style=100, StartX=100, StartY=100, FinishX=100, FinishY=100);
border:0px;
}
a:visted img{
filter: Alpha(Opacity=50, FinishOpacity=50, Style=50, StartX=50, StartY=50, FinishX=50, FinishY=50);
border:#CCCCCC solid 1px;
border-bottom:2px #999999 solid;
border-right:2px #999999 solid;
}
filter: Alpha(Opacity=50, FinishOpacity=50, Style=50, StartX=50, StartY=50, FinishX=50, FinishY=50);
border:0px;
}
a:hover img{
filter: Alpha(Opacity=100, FinishOpacity=100, Style=100, StartX=100, StartY=100, FinishX=100, FinishY=100);
border:0px;
}
a:visted img{
filter: Alpha(Opacity=50, FinishOpacity=50, Style=50, StartX=50, StartY=50, FinishX=50, FinishY=50);
border:#CCCCCC solid 1px;
border-bottom:2px #999999 solid;
border-right:2px #999999 solid;
}
2013-11-12
展开全部
class="ico" 这个没有定义
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-11-12
展开全部
建议把 a img 直接改为 .ico
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询