{"id":327,"date":"2011-05-24T09:30:51","date_gmt":"2011-05-24T19:30:51","guid":{"rendered":"http:\/\/mymonkeydo.com\/?p=327"},"modified":"2011-05-24T09:30:51","modified_gmt":"2011-05-24T19:30:51","slug":"doc-type-or-die","status":"publish","type":"post","link":"https:\/\/mymonkeydo.com\/doc-type-or-die\/","title":{"rendered":"DOC TYPE or Die"},"content":{"rendered":"
-James Thurber<\/em><\/p>\n After countless hours of trying to figure out why Internet Explorer is doing this or that different from all the other browsers the most common solution is to add a Doc Type. \u00a0Never ever forget this. \u00a0This one little addition solves This is the doc type that I use. \u00a0To me, it is the best one to use because it’s not so strict on the structure and it doesn’t restrict presentational attributes. \u00a0This should be the very first thing in the html file, before the <html> tag.<\/p>\n <!DOCTYPE HTML PUBLIC “-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN” ”\u00a0http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd”><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[2],"tags":[34],"yoast_head":"\n90%\u00a075%<\/del> 60% of the IE problems. \u00a0It can save you hours and hours of googling and hair pulling. \u00a0While this is supposed to be in every HTML document, sometimes it’s left out. \u00a0Whether it’s the designer<\/strong>‘s fault or the developer’s fault it doesn’t matter. \u00a0It should be put in.<\/p>\n