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

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -