<a href="#"> <img src="" /> </a>
当img嵌套在a标签里,点击时,会出现虚线框,如何去掉虚线框?css代码如下:
a{outline:none;} a:active {outline:none;blr:expression(this.onFocus=this.blur());} img,a .img{border:0}
html标签如下:
<a href="#" onfocus="this.blur()"> <img src="" /> </a>