IE 9 和更早版本的 IE 浏览器在我的复选框周围放置虚线时出现问题。似乎想调用 post textarea 并 post input 在复选框周围添加边框,然后调用 post input focus 并在其周围放置背景。
即使我将边框 0px 放在后期输入中,虚线也不会消失。没有其他浏览器 FF,chrome 这样做....与复选框 .reset 文件无关
IE 9 中的图像:http: //i46.tinypic.com/hvqj2g.png
代码调用:http: //i46.tinypic.com/30ic1f5.png
#post textarea,
#post input {
border:1px solid #ddd;
}
#post textarea:focus {
outline: none;
ie-dummy: expression(this.hideFocus=true);
}
#post input:focus {
-moz-box-shadow: 0px 0px 0px 2px #eee ;
-webkit-box-shadow: 0px 0px 0px 2px #eee ;
box-shadow: 0px 0px 0px 2px #eee ;
background: #fefcbe;
-webkit-transition: all .5s ease-in-out;
-moz-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
}
#post input#submit-btn{
background: #eee;
color:#444;
text-shadow: 1px 1px 1px #fff;
}
Any ideas for IE 9?