Kathirvel K

Archive for June 2013

It might be a chance you can face some problems that because of meta tag, so just know about some things to resolve your problems quickly… 

  • Problem:

The character encoding of the HTML document was not declared.The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol.

Solution:

Add this as a first line in the HEAD section of your HTML template
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">

  • Problem:

Forces the browser to render as that particular IE version's standards

Solution:

Add this meta tag in the HEAD section of your HTML template
<meta http-equiv="X-UA-Compatible" content="IE=8" />

  • Problem:

Forces the browser the render at whatever the most recent version's standards are

Solution:

Add this meta tag in the HEAD section of your HTML template
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />

  • Problem:

Adding "chrome=1" will allow the site to render in ChromeFrame

Solution:

Add this meta tag in the HEAD section of your HTML template
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />