ErocM
ErocM

Reputation: 4662

Insert CSS using C# WebBrowser

In this post:

C# WebBrowser Gmail Ads

Buddy4j said:

Insert a CSS rule into the page with lists of the ads, and make the display:none;

I'm not familiar with CSS and what I need to add. Anyone have an example as to what I am inserting and where?

thanks for the help!

Upvotes: 0

Views: 744

Answers (1)

Bala R
Bala R

Reputation: 108937

You can try using the CSS that's provided by this site. You may have to manually inject

<link rel='stylesheet' />

into the <head /> of the document the WebBrower control is set to use.

Upvotes: 1

Related Questions