Welcome Guest Search | Active Topics | Sign In | Register

WebView background Options
Jaroslav Zmolik
Posted: Tuesday, August 2, 2016 9:53:45 AM
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?
eo_support
Posted: Tuesday, August 2, 2016 10:41:06 AM
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.aspx

To 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.aspx

Note that this may not work if there are additional code/style that explicitly sets the body element's background in the web page.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.