.WebElement.Style[…] = … (gb.qt4.webkit)

Dim hWebElement As WebElement
Dim aString As String
hWebElement.Style [ Property As String ] = aString

Sets the value of the inline style with the given name to value.

Setting a value does not necessarily mean that it will become the applied value, due to the fact that the style property's value might have been set earlier with a higher priority in external or embedded style declarations.

In order to ensure that the value will be applied, you may have to append "!important" to the value.