Skip to content Skip to sidebar Skip to footer

Webbrowser Control Add Style To Tags Already Having Style

In vb6 web browser control i am want to set style property for backgrpund color.I am doing it as shown below If P.getAttribute('name') = 'mybookmark' Then P.Style.cssText = 'ba

Solution 1:

Add to the existing style rather than replace it :)

P.Style.cssText = "background-color:#FFFFEB;" & P.Style.cssText

Post a Comment for "Webbrowser Control Add Style To Tags Already Having Style"