码迷,mamicode.com
首页 > Web开发 > 详细

【css】超级链接点击后出现虚框

时间:2014-07-31 16:26:26      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   io   html   ar   div   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.a1{ display:inline-block; width:72px; height:27px; line-height:27px; background:url(bluebtn.jpg) no-repeat; text-align:center; border:none; color:#fff; font-size:12px; outline:none;}//chrome\firefox\ie9
.a1:hover{ color:red; text-decoration:none;}
.layer01,.layer02{ margin:10px;}
</style>
</head>

<body>
<div class="layer01">
<a href="#" class="a1"  hidefocus=‘true‘>添加图片1</a>  /*针对ie6,ie7*/
</div>
<div class="layer02">
<input type="button" value="添加图片2"  hidefocus=‘true‘ class="a1"/>
</div>

</body>
</html>

 

【css】超级链接点击后出现虚框,布布扣,bubuko.com

【css】超级链接点击后出现虚框

标签:style   blog   http   color   io   html   ar   div   

原文地址:http://www.cnblogs.com/positive/p/3880819.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!