Is there a way to change the text color for entire webView? If it is could you provide me with some examples?
A:
A web view displays a web page, so do it the same way you would do it for any web page: define a CSS style (inline or in an external, referenced stylesheet):
* {
color: #FFFFFF;
}
... then the page will be rendered with all text the designated color. This works because the * selector applies to all elements and the color property specifies the text color.
Joshua Nozzi
2010-06-02 20:45:47
Thanks, but by design I cannot put color in html, the color has to come from user preferences.
Nava Carmon
2010-06-03 05:46:38
I *believe* you can forcibly include an external stylesheet with WebKit without referencing it from within the HTML.
Joshua Nozzi
2010-06-03 11:14:51