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); }
精彩评论