After following all tips here to disable scrolling nothing worked.
Why is it that my webview will shift ever so slightly to the left or right when it should just fit to the page without any horizontal scrolling?
Left Image: Initial Load
Right Image: After swiping to the left.
...
HTML:
<html>
...
<body id="visitorinfo">
<div class="visitor">
<div class='titlebox'><img src="../images/helloworld.png"/></div>
</div>
</body>
</html>
CSS:
#visitorinfo{
max-width:500px;
text-align:left;
font-size:16px;
display:block;
overflow:hidden;
margin:5px;
}
.titlebox{
float:center;
max-width:100%;
padding:5px;
text-align:center;
}
.titlebox img{
width:100%;
}
.visitor{
margin-bottom:35px;
display:block;
overflow:hidden;
margin:5px 10px;
word-wrap:break-word;
}
Note: This will happen with an image and also with text. Also, I left out redundant "right swipe".