{"id":101,"date":"2011-03-27T10:16:00","date_gmt":"2011-03-27T15:16:00","guid":{"rendered":"https:\/\/www.chrystalsander.com\/blog\/?p=101"},"modified":"2011-03-27T10:16:00","modified_gmt":"2011-03-27T15:16:00","slug":"deprecated-center-tag-in-html-5","status":"publish","type":"post","link":"https:\/\/www.chrystalsander.com\/blog\/?p=101","title":{"rendered":"Deprecated &#8216;center&#8217; Tag In HTML 5"},"content":{"rendered":"<p>Ok, so if your web site is no longer centered in FireFox but still works in Internet Explorer, then remember back to when the &#8216;center&#8217; tag was deprecated back in HTML 5.   FireFox simply will not tolerate this tag any longer and pushes to the standard of having tags DESCRIBE its contents and not DEFINE them. <\/p>\n<p>Anyway, you might get away with replacing your &#8216;center&#8217; tags with:<\/p>\n<p><span style=\"font-family: courier new; color: rgb(0, 0, 153);\"> &#8216;div style=&#8221;text-align: center;&#8221;&#8216;<\/span><\/p>\n<p>However, it would probably be better to change your architecture to reference an &#8220;auto&#8221; property in your .css :<\/p>\n<p><span style=\"font-family: courier new; color: rgb(0, 0, 153);\">&#8220;margin: auto;&#8221;<\/span><br \/>\n<br \/><span style=\"font-family: courier new; color: rgb(0, 0, 153);\">&#8220;margin-left: auto;&#8221;<\/span><br \/>\n<br \/><span style=\"font-family: courier new; color: rgb(0, 0, 153);\">&#8220;margin-right: auto;&#8221;<\/span><br \/>\n<br \/><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, so if your web site is no longer centered in FireFox but still works in Internet Explorer, then remember back to when the &#8216;center&#8217; tag was deprecated back in HTML 5. FireFox simply will not tolerate this tag any longer and pushes to the standard of having tags DESCRIBE its contents and not DEFINE &hellip; <a href=\"https:\/\/www.chrystalsander.com\/blog\/?p=101\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Deprecated &#8216;center&#8217; Tag In HTML 5&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"_links":{"self":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/101"}],"collection":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=101"}],"version-history":[{"count":0,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/101\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}