I've been trying to figure this out for weeks and have found no real solutions. I discovered one workaround but I find it very annoying.
The images load blurry on my Galaxy S3's default browser but in chrome & firefox they load perfect without the workaround. The images are 2x already for high DPI screens so that's not the issue.
The work around is placing any text in the a link. I put "."
<a href="#">.</a>
and making the font size very small.
#closeButton a{
float:left;
display:block;
position:fixed;
top:9px;
left:10px;
width:46px;
height:44px;
background:url(../img/camera/[email protected]) 0 0 no-repeat;
background-size:46px 90px;
text-align:center;
font-size:1px;
color:#FFF;
}
#closeButton a:active{
background-position:0 -45px;
}
<span id="closeButton"><a ontouchstart="" href="vibes.html"></a></span>
Screenshot without workaround:
http://igor2.com/blurry/no-text.png
Screenshot with workaround:
http://igor2.com/blurry/with-text.png
Any help would be appreciated! I've been pulling my hair out trying to figure this out. There has to be a solution since facebook mobile and other mobile pages load nice crisp images/icons. Thank you!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…