I am working on Windows phone 8 app.
This is my code:
i am binding the data in the XAML:
<phone:WebBrowser IsScriptEnabled="True"
ScriptNotify="BrowserControlScriptNotify"
ListBoxWebView:WebBrowserUtility.Html="{Binding WebView}"/>
here WebView
is the data binded to webbrowser control
.
I have the content like this:
<html><head>{0}</head><body bgcolor=BGCOLOR style="margin:0px;padding:0px;" "
here bgcolor=BGCOLOR
i want the bgcolor to be transparent.
i have tried <body style="background: transparent; margin: 0; padding: 0;">
but its not working.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…