iPhone - Using javascritp to increase font of web view

Posted by satyam on Stack Overflow See other posts from Stack Overflow or by satyam
Published on 2010-04-10T17:16:44Z Indexed on 2010/04/10 17:23 UTC
Read the original article Hit count: 414

Filed under:
|
|

i've a webview in my app. It has + and - buttons to increase and decrease the font. When I start the view, the text occupies whole 320 pixels width. I'm following the way mentioned in "http://stackoverflow.com/questions/589177/how-to-increase-font-size-in-uiwebview" I'm seeing the increase and decrease of font. But once the font size increases, text is not occupying full view. It won't occupy whole 320 pixels width. As and when text size increases, the width of final text in web view decreases slowly.

Why? How to avoid it?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about JavaScript