I am using on my Android app a webview which loades an external page.
It has a few anchors (<a>
tags). When I press on it, yellow border appears.
How can I prevent it and remove this border ?
I've tried following tricks:
// jQuery
$("a").focus(function(){
$(this).attr("hideFocus", "hideFocus");
});
// CSS
a, :focus {
outline: none;
}
but with no success.
Thanks !
a, :focus
bea:focus
? – Virginavirginal:focus
match all elements that can be focused, even button etc ? – Centimeter