c# - Marquee tag not work in windows form webBrowser control -
i have url. want show in windows form webbrowser control. in html page (url) multiple marquee tags. marquee tage not work in webbrowser control. work in normal browser
private void form1_load(object sender, eventargs e) { // webbrowser1.scripterrorssuppressed = true; webbrowser1.url =new uri( @"http://67.205.96.105:8080/cis/"); }
this url http://67.205.96.105:8080/cis
using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.windows.forms; namespace windowsformsapplication1 { public partial class form1 : form { public form1() { initializecomponent(); } private void form1_load(object sender, eventargs e) { webbrowser1.url = new uri(@"file:///c:/users/myuser/desktop/test.html"); } } }
<!--test.html--> <!doctype html> <html> <head> <title>html marquee tag</title> </head> <body> <marquee>this basic example of marquee</marquee> <marquee direction="up">the direction of text bottom top.</marquee> </body> </html>
please use code , try.this code works fine , think problem html code.
tried in internet explorer 8 , found page not supports , why want edit html code ie8 compatibility.
thanks & regards
Comments
Post a Comment