去掉a标签点击后的虚边框

a {
    cursor: pointer;
    text-decoration: none;
    hide-focus: expression(this.hideFocus=true);
    outline: none;
}

    a:link, a:visited, a:hover, a:active {
        text-decoration: none;
    }

    a:focus {
        outline: 0;
    }

注意:有时候看不出效果检查一下CSS的引用顺序,确定CSS是不是生效了。

posted @ 2015-04-30 13:12  魏巍(QQ:68235081)  阅读(143)  评论(0编辑  收藏  举报