html - White Space in UIWebView -


i working on app in using uiwebview. make uiwebview editable, have used html file , have set attribute contenteditable=true. perform operation, using javascript.

i have set css in html file. below code.

<style>             #test             {                 padding-left:5px;                 padding-right:5px;                 background-color:green;                 text-align:left;                 width:100%;                 font-family: "times new roman";                 border-radius:5px;             }   </style> 

now, problem getting white margin of 10-15px top, bottom , left side between uiwebview , html file loaded in uiwebview. here attaching screenshot same.

enter image description here

i have started working on html , javascript(no prior knowledge) , not getting problem is.

as discussed use

{position:absolute;top:0px;left:0px;} 

this take html file top left of webview.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -