{"id":472,"date":"2008-04-15T14:43:39","date_gmt":"2008-04-15T20:43:39","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/archives\/000472"},"modified":"2008-04-15T14:43:39","modified_gmt":"2008-04-15T20:43:39","slug":"ie7-doesnt-like-div-classes-named-content","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/472","title":{"rendered":"IE7 doesn&#8217;t like div classes named &#8216;content&#8217;"},"content":{"rendered":"<p>I ran into a really bizarre issue today.\u00a0 A client&#8217;s website had paragraph tags separating content, wrapped inside a number of divs.\u00a0 One of the divs had the classname of &#8216;content&#8217;.\u00a0 In IE7, and not in FF2 or IE6, the first line of the paragraph was indented.\u00a0 Modifying, even deleting, styles of the parent divs or the paragraph did not seem to change anything.\u00a0 Adding a break tag as the first child of the paragraph tag fixed the indentation, but led to too much space.<\/p>\n<p>Finally, I tried deleting the entire classnames from the parent divs.\u00a0 Deleting the class &#8216;content&#8217; from one of the divs fixed the issue.\u00a0 Then I tried with a classname of &#8216;contaent&#8217;, and the issue was still fixed.<\/p>\n<p>Apparently IE7 doesn&#8217;t like divs with the name &#8216;content&#8217;?\u00a0 I was able to use &#8216;content-wrapper&#8217; just fine.\u00a0 Beats me.\u00a0 A cursory search of the internet didn&#8217;t turn up any suggestions, and I unfortunately don&#8217;t have the time to try to plumb the depths of this bug.<br \/>\n[tags]IE weirdness[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran into a really bizarre issue today.\u00a0 A client&#8217;s website had paragraph tags separating content, wrapped inside a number of divs.\u00a0 One of the divs had the classname of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-472","post","type-post","status-publish","format-standard","hentry","category-web-applications"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/472\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}