How do I change/specify Webbrowser Control font?


  • I am using the webbrowser control to display HTML formatted string in a VB.NET 2005 application.  The default webbrowser text seems to be Times New Roman 12pt.  Is there a property or other method to change the default font and size?  Thanks...
    Saturday, November 04, 2006 12:06 AM

All replies

  • Did you ever find out how to do this?


    If so - how?



    Sunday, November 26, 2006 2:21 AM
  • No, no one replied.  I'm still looking for an answer if anyone knows how to do this...  The control defaults to Times New Roman 12pt.  Thanks...
    Sunday, November 26, 2006 6:11 PM
  • If you are using the .NET WebBrowser, then I think I might have the answaer to that question:

    The following is for the color

    browser.Document.ForeColor = Color.Black 'Any color you want, just by deleting

    It would take me a lot of time trying to figure out thee custom Text.  I would need to mess around with Encoding and Everything.  However, If you really need help on this issue, I would say you should visit my website  There you can go to Technical Support and click my chat icon.  We can chat to figure out the issue.  This would make the job easier.
    Thursday, July 10, 2008 4:33 AM
  • Hello,

    I have the same problem as you.

    Were you able to find an answer?


    Wednesday, January 23, 2013 12:47 PM