这适用于Web浏览器控件,但不能在gecko上应用
IHTMLDocument2 doc = (webBrowser1.Document.DomDocument) as IHTMLDocument2;
IHTMLStyleSheet ss = doc.createStyleSheet("", 0);
ss.cssText = @".navSub_top, .navSub_middle, .navSub_bottom { display: none; };";
你能帮帮我吗?
答案 0 :(得分:0)