{"id":173,"date":"2010-12-22T13:21:35","date_gmt":"2010-12-22T04:21:35","guid":{"rendered":"http:\/\/www.santoshkori.com\/blog\/?p=173"},"modified":"2012-03-05T22:25:02","modified_gmt":"2012-03-05T13:25:02","slug":"ie8-x-ua-compatibility-meta-tag-properly","status":"publish","type":"post","link":"https:\/\/www.santoshkori.com\/blog\/ie8-x-ua-compatibility-meta-tag-properly\/","title":{"rendered":"IE8 X-UA Compatibility Meta Tag Properly"},"content":{"rendered":"<p>You may face Cross browser compitabilty issue in IE8, So we can use X-UA Compatibility Meta Tag Properly. it will tell browser to render as per older version.<!--more--><\/p>\n<p><a title=\"Get IE8\" href=\"http:\/\/www.microsoft.com\/windows\/internet-explorer\/worldwide-sites.aspx\" target=\"_blank\" rel=\"noopener\">Internet Explorer 8<\/a> is out, with a couple of rendering modes, that will take time to  handle. As you know, IE8 renders pages in standards compliance mode by  default, and the X-UA compatibility tag has been a good idea of  Microsoft,\u00a0as it gives a chance to developers who have not optimized  their\u00a0websites for IE8 to put things to work with less effort.<\/p>\n<p>Did you try it already? If it is something new to you, it works like that:<\/p>\n<p>1. Add the following meta-tag in the head section of your webpage <strong>above<\/strong> any linked files (i.e, above &lt;link&gt;\u2026&lt;\/link&gt; and &lt;script&gt;\u2026&lt;\/script&gt; tags)<\/p>\n<pre>&lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=7\" \/&gt;<\/pre>\n<p>If the tag is below link or script tags, the fix will not work.<\/p>\n<p>2. Reload the page, and the meta tag will force IE8 to use the  rendering engine of IE7, and your webpages will look as they did before,  until you find a solution for the issues you have noticed when IE8 was  released.<\/p>\n<p>If your pages behave as expected\u00a0under IE8 then you should\u00a0use the  IE8 meta tag.\u00a0 This will ensure that your code will continue to run  properly after the next browser upgrade:<\/p>\n<pre>&lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=8\" \/&gt;<\/pre>\n<p>In summary, the compatibility UA-X meta tag is a good and legal trick\u00a0to be comfort with your visitors.<\/p>\n<p>Do not hesitate using it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may face Cross browser compitabilty issue in IE8, So we can use X-UA Compatibility Meta Tag Properly. it will tell browser to render as per older version.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,16,17,47],"tags":[],"class_list":["post-173","post","type-post","status-publish","format-standard","hentry","category-cross-browser-compatibility","category-just-blogging","category-tips-n-tricks","category-web-design"],"_links":{"self":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":3,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":175,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/173\/revisions\/175"}],"wp:attachment":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/media?parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/categories?post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/tags?post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}