I am trying to set, and then unset the background color of links using html. Setting the background color is easy enough using something like this:
However, to unset the background color I need to remove the backgroundColor attribute. Is there a way to just get rid of the backgroundColor so it will go back to how it was, or once you set it is it always there?
VB.NET:
Dim htmldoc As mshtml.HTMLDocument
htmldoc.links.item(1).style.backgroundColor() = "#AAFFFF"
However, to unset the background color I need to remove the backgroundColor attribute. Is there a way to just get rid of the backgroundColor so it will go back to how it was, or once you set it is it always there?