开发者

Selecting an item on Android web browser

When I tap (click) a link (or any sele开发者_Python百科ctable item) in a web page on Android web browser, the link/item is being highlighted (a thin orange line is draw around the selected item). Does anyone know whether this behavior can be eliminate and how.

Thanks in advance, Oded


Behold the magic [credit]:

<!DOCTYPE html>
<html>
    <head>
        <title>Android Link Test</title>
        <style type="text/css">
        a {
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        }
        </style>
    </head>
    <body>
    <a href="http://www.google.com/">Hello, World!</a>
    </body>
</html>

Tested on Android 2.1. No more orange-iness with that bit of CSS applied.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜