how to set WebBrowser's CSS



Hi all,
I'm programing with WebBrowser to implement an browser of myself, problem found when I set html string like this->

webBrowser1.DocumentText = "<html><head><title>xxxxx<title><link href='http://domainname/template/style1.css' rel='style***' type='text/css'/></head>some text<html>";

when the program executing, the browser control waitting here for something, progress bar is frozen, is there any sugguestion about this?

thanks and best reguards,

Robin

JPEG image