{"id":3,"date":"2006-11-18T20:50:11","date_gmt":"2006-11-18T20:50:11","guid":{"rendered":"http:\/\/markandkelley.com\/mark\/?p=3"},"modified":"2012-01-30T02:37:34","modified_gmt":"2012-01-30T02:37:34","slug":"ies-primary-layout-bug","status":"publish","type":"post","link":"https:\/\/www.hickendesign.com\/site\/2006\/11\/ies-primary-layout-bug\/","title":{"rendered":"IE&#8217;s primary layout bug"},"content":{"rendered":"<p>I learned today what actually causes the majority of the CSS problems I run into with IE. It&#8217;s a property of each page element called hasLayout. Only the standard HTML tags (P, H1, BLOCKQUOTE, etc) have layout by default. There are a number of ways to force hasLayout to be enabled without affecting the layout of the element. The easiest and most fool proof that I&#8217;ve found is to add the following style to your object:<\/p>\n<p>_height:0;<\/p>\n<p>If you are familiar with the underscore hack you know that only IE will respect this rule.<\/p>\n<p>For a much more detailed explaination you can visit this well written page:<br \/>\n<a href=\"http:\/\/www.satzansatz.de\/cssd\/onhavinglayout.html\">http:\/\/www.satzansatz.de\/cssd\/onhavinglayout.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I learned today what actually causes the majority of the CSS problems I run into with IE. It&#8217;s a property of each page element called hasLayout. Only the standard HTML tags (P, H1, BLOCKQUOTE, etc) have layout by default. There are a number of ways to force hasLayout to be enabled without affecting the layout &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.hickendesign.com\/site\/2006\/11\/ies-primary-layout-bug\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;IE&#8217;s primary layout bug&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3","post","type-post","status-publish","format-standard","hentry","category-general-posts"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/posts\/3","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/comments?post=3"}],"version-history":[{"count":1,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/posts\/3\/revisions"}],"predecessor-version":[{"id":923,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/posts\/3\/revisions\/923"}],"wp:attachment":[{"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/media?parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/categories?post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/tags?post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}