Rank: Newbie Groups: Member
Joined: 8/2/2016 Posts: 1
|
Hi, is it possible to change default white background color while loading initial page in WebView component?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, It is not possible to do that directly. You can do it indirectly through CSS though. For example, you can set this property: http://www.essentialobjects.com/doc/eo.webengine.browseroptions.userstylesheet.aspxTo something like this:
Code: CSS
body { background-color: blue; };
See here for more information about setting browser options: http://www.essentialobjects.com/doc/webbrowser/advanced/browser_options.aspxNote that this may not work if there are additional code/style that explicitly sets the body element's background in the web page. Thanks!
|