views:

136

answers:

0

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?