Web Server tomcat is not loading the ie related css
I have an issue with css. I have a css file which has ie specific css clauses..Like .ie7 #div .ie #table
These css is working good in my local on tomcat server. But the same css is not loading in IE in my dev system which is also running on tomcat. When I debug the ie is not recognizing the ie specific css clauses. Also I found out that the IE is not recognizing even the section and header tags.
Please let me know what can be the work around. Thanks开发者_StackOverflow社区 for your time and help.
Regards, Varma
Assuming you're running IE9..
Make sure you don't have Compatibility Mode turned on, and make sure you have a valid doctype as the very first line to trigger Standards Mode:
<!DOCTYPE html>
If it still doesn't work, then add this meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Concerning this point:
Also I found out that the IE is not recognizing even the section and header tags.
In older versions of IE, you need this to make the HTML5 semantic tags work properly:
http://code.google.com/p/html5shiv/
精彩评论