… = .WebElement.Style[…] (gb.qt4.webkit)
Dim hWebElement
As WebElement
Dim aString
As String
aString
= hWebElement.Style
[ Property As String ]
Returns the value of the style with the given name. If a style with name does not exist, an empty string is returned.
In CSS, the cascading part depends on which CSS rule has priority and is thus applied. Generally, the last defined rule has priority. Thus, an inline style rule has priority over an embedded block style rule, which in return has priority over an external style rule.
If the "!important" declaration is set on one of those, the declaration receives highest priority, unless other declarations also use the "!important" declaration. Then, the last "!important" declaration takes predecence.