EDN Admin
Well-known member
I am trying to run my winform application that hosts the webbrowser control on Windows8 environment. The application works fine on all other windows version but on windows 8 the page cannot apply stylesheet.
I tried giving relative and absolute path to the stylesheet in html but both dont work. I user stylesheet using the <link> tag with href set to the stylesheet path.
Surprisingly a WPF hosted Webbrowser is able to render the HTML with stylesheet applied(same html).
Finally I have to make the stylesheet inline to the HTML so that it gets applied to the page. I dont understand why this works with all other windows platforms except windows 8.
Is there a issue with WinForms.WebBrowser control running on Win 8 platform? Any help will be highly appreciated.
View the full article
I tried giving relative and absolute path to the stylesheet in html but both dont work. I user stylesheet using the <link> tag with href set to the stylesheet path.
Surprisingly a WPF hosted Webbrowser is able to render the HTML with stylesheet applied(same html).
Finally I have to make the stylesheet inline to the HTML so that it gets applied to the page. I dont understand why this works with all other windows platforms except windows 8.
Is there a issue with WinForms.WebBrowser control running on Win 8 platform? Any help will be highly appreciated.
View the full article