I have been experiencing this problem and found a solution that works for me.
I have one main <div>
with some nested <div>
elements inside. The HTML is very basic. I found that one <div>
within my main <div>
would wrap its text as if I had double-tapped the text to zoom in on it. This <div>
only contained text. This behavior occurred only in portrait orientation, and it corrected after double-tapping or switching orientation.
Since this problem is an Android bug, no CSS or HTML can really fix it. However, the following CSS resolved the problem satisfactorily for me; and I didn't have to turn off "Auto-fit pages":
I added a CSS background-image
to the <div>
. I just used a transparent, one-pixel PNG as the background.
div { background-image: url(../img/blank.png); }
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…