开发者

Cant remove the default blue highlight on blackberry webworks app

Im currently working on a Blackberry webworks app and hav开发者_StackOverflow社区ing problems removing the default blue highlight on links. I've following the guides on the blackberry site and added the:

<meta name="x-blackberry-defaultHoverEffect" content="false" />

and the css

a:hover{background-color:transparent}

I've tried all sorts of background css properties with no luck.

Neither of these are working.


3 years later, so this probably won't help the asker, but just in case someone else comes across it, I found the magic hidden property to fix this:

-webkit-tap-highlight-color: transparent;


I've got the same problem. In my css I used:

/* Links */
a, a:link, a:visited, a:active{
    cursor: pointer;
    text-decoration:none;
    color: #353535;
    font-weight: bold
}
a:hover{
    text-decoration: none;
}
a:focus {
    outline: none;
}


and then:

#my-content .txt a{
    color: #BF3232;
    font-weight: normal;
    cursor: default;
    text-decoration: none;
}   
#my-content .txt a:hover{
    text-decoration: none;
}


It worked for me.
Cheers.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜