wajid ansari
Hi
How to change the background and foreground color of a webbrowser control. If any one have sample code or any helpfull link please send it.
Thanks
Foreground and background colors of Web Browser control depends/controlled by the content page you are loading into your control
But any how if want to show some background color on Browser control before loading any content(page) you can do this
webBrowser1.DocumentText = "<html><body style='background-color:Blue'></body></html>";
Hi! If it is asp.net control, then right click on the control and choose Style option. and then you can choose background color you want.
Patel