By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,909 Members | 2,008 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,909 IT Pros & Developers. It's quick & easy.

AxWebBrowser can modify styles?

P: n/a
I'm working with AxWebBrowser and i try to change the entire page, but i
don't find any way to do it

also i try to change by parts:
First the body:


and this also work:"body{\nbackground-color: White;\nmargin-top:
300px;\nmargin-bottom: 0px;\nmargin-left: 0px;\nmargin-right:
0px;\nfont-family : \"Courier New\", Courier, monospace;\nfont-style :
italic;\nfont-weight : bold;\n}";

but i have no way to change or create news styles.

I need to change dynamically the aspect of the loaded web page .

Then I have 2 ways:

1- to be able to read a whole page from a string from AxWebBrowser.Document,
with a style. (i can't to do a temporaly html file and read it)
2- to be able to add and to modify styles of AxWebBrowser.Document and that
these affect to all the HTMLElements related


i charge the style at:

border-right: 1px
dotted #939393;
vertical-align : top;

and this would have to affect to all the tables contained in the document.
Some idea?

Tnks in advanced
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.