I have a webbrowser application and I need to change the "style" attribute of an HTMLElement. Every other attribute except style is working. I have no idea why.
Example:
That does not work at all. Any suggestions/ideas?
I was reading this, http://weblogs.asp.net/rweigelt/archive/2006/11/27/1062699.aspx, and apparently Style has it's own property... I don't know. Any help is appreciated.
Example:
Code:
webBrowser.Document.GetElementById("elementName").SetAttribute("style", "display:block;");
I was reading this, http://weblogs.asp.net/rweigelt/archive/2006/11/27/1062699.aspx, and apparently Style has it's own property... I don't know. Any help is appreciated.