I'm using the WebBrowser control in a C# application to render an XML document (initially loaded from a file, but then modified programmatically) styled with CSS. I've upgraded to IE8 and confirmed that the WebBrowser control is using IE8, but my user:before and user:after rules with content are not having any effect. The plain user rule with color and display: block work fine, so the stylesheet is being used.
Perhaps this has something to do with "standards mode"? Is there a way to put IE8 into standards mode when the document is XML from a file?