webbrowser background image display
any ways to add image background on webbrowser1 chat window ? its not for browsing its a chat window that receives text from other chat users and i want to know if its possible to change webbrowser1 background add my own image so we can chat while having nice background
Re: webbrowser background image display
WebBrowser1.Document.body.bgColor = &HFF0000 '<-------- Make background Color Red
To make background different color and have an image:
Dim HTML As String
HTML = "<body background='url_of_image' bgcolor=&hff0000>"
WebBrowser1.Document.write HTML
Re: webbrowser background image display
Dim HTML As String
Dim HTML As String
HTML = "<body background=" & Text2.Text & " bgcolor=&hff0000>"
frmClient.WB.Document.write HTML
works great i only need 1 thing with this code sir
my webbrowser1 height = 4200 and wight = 7455
how do i set the image to that setting so it fits in perfectly ? please