UIWebView. Replace css properties using javascript -
the code likes following:
<style type=\"text/css\"> html{background: #000; margin: 0; padding: 0} body {padding: 30px; background: #000;width: 85;margin:0 auto;color: #000;font-family: arial, sans-serif;line-height: 1.3em;} </style>
what if want replace example html.background?
usual nsstring replacement not suitable because there lot of similar properties.
you should consider using jquery framework this.
more information on css jquery available here: http://api.jquery.com/css/
Comments
Post a Comment