开发者

Android 2.2.1 textbox background image

We have a search icon in our text开发者_JS百科box as background image. But when we press the textbox (so the focus is on it) then this background disappears. This problem only occurs on Android (v.2.2.1). What causes it and how can we solve this problem?


Technically, this isn't an Android issue, but a WebKit/HTML/CSS issue.

You could do a simple workaround by adding a CSS definition like this one:

#q:focus { background-image: url(/media/images/search.png); }
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜