I'm load a webpage in a TWebbrowser but the webpage isn't displaying correctly and I am unable to change the coding.
How can I alter an inline style in Delphi after the page has loaded?
this is the code i'm trying to change:
<td width="200px" valign=top style="background-color:#576299; height:800px;">
to this:
<td width="200px" valign=top style="display:none; background-color:#576299; height:800px;">
I first I thought I could just inject a css style sheet using this method: CSS and TWebbrowser delphi but there is no class to override, i could setup a style for all tables but there are other tables on the page that i want to display.
Is there anyway to search for the html i'm looking for and replace it with something else?