Strange padding/margin when using UIWebView

Posted by Nicsoft on Stack Overflow See other posts from Stack Overflow or by Nicsoft
Published on 2010-03-14T16:02:08Z Indexed on 2010/03/14 16:05 UTC
Read the original article Hit count: 548

Hello,

I am creating an app that is having a UIWebView which contains an advert. The size of the view is the same as the advert (image) itself. Still, there is a white margin/padding of some kind above and to the left of the image, inside the UIWebView. Check out the linked image:

alt text

Also, I did link to the actual advert itself, you can check out the image loaded and view the source code there:

Link to advert

Any idea how I should remove the white padding?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about uiwebview