Friday 9 May 2014

Styles are not working in IE and working in other browsers


First Check what is the compatibility mode.
Open file in IE.
Press F12.
Press Ctrl+8 or go to Emulation option
Under Mode, check what is the Document mode. It should be your compatibility browser version.
If not add below tags.
Add below 2 tags in header section of html
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>