I'm having a bit of tro开发者_如何学Cuble w/ some CSS on a page. It's valid CSS and Strict HTML. It renders fine in every* browser except for IE (I have only tried 7). Is there a way to tell if it's rendering the page in Quirks or Standard mode? I suspect it may be doing quirks mode, as that's about the only explanation I can think of.
*Opera, Chrome, Safari, Firefox ... not really every, but close enough.
Within IE, you can open up the developer tools (Tools->Developer Tools, or F12), and along the top, it will list Document Mode: . You can see there in what mode the browser is rendering your page.
One word of caution: IE likes to treat pages on your local network differently from pages on the internet. Specifically, it will sometimes default into compatibility view for pages on the local intranet.
精彩评论