Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebBrowser BackColor

Status
Not open for further replies.

memememememememe

Programmer
Jul 24, 2007
14
AU
Im tying to set the webbrowser control backcolor but can't figure it out.

I can achieve it if I write to a file...

"<body bgcolor=#00FF00>"

then navigate to it, but I want to do it on the fly without writing to a file something like...

WB1.Document.body.background = "beach.jpg"

but for the background color property
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top