{"id":63,"date":"2006-02-05T01:36:40","date_gmt":"2006-02-05T06:36:40","guid":{"rendered":"http:\/\/www.killersites.com\/blog\/?p=63"},"modified":"2017-02-23T10:10:36","modified_gmt":"2017-02-23T15:10:36","slug":"css-3-column-layout","status":"publish","type":"post","link":"https:\/\/www.killersites.com\/blog\/2006\/css-3-column-layout\/","title":{"rendered":"CSS 3 column layout &#8211; the holy grail!?"},"content":{"rendered":"<p>I recently was surfing the web and found myself on a popular web standards zealot website. The featured article referred to 3 column CSS based page layout as being the &#8216;Holy Grail&#8217;! My first reaction to this was: geez, how silly this&nbsp;is! <\/p>\n<p>&#8230; <\/p>\n<p>Indeed, a simple thing&nbsp;like&nbsp;a 3 column layout is a challenge &#8211;&nbsp;when you don&#8217;t use tables.&nbsp;As such, you can find many articles on many web standards zealot websites&nbsp;that attempt to solve this problem. All of them falling short, all of them requiring the use of hacks &#8211; hacks that can break and WILL break.<\/p>\n<p><strong>IRRESPONSIBLE &#8216;EXPERTS&#8217;<\/strong><\/p>\n<p>The article in question, though recent, still advocates\/demonstrates the use of a hack to get it to work&nbsp;with the most&nbsp;popular browsers &#8230; they don&#8217;t learn, do they? <\/p>\n<p>I say this because a few months ago, it was discovered by the web community that many commonly used CSS&nbsp;hacks will break in the new, fully standards compliant IE7 &#8230;&nbsp;thus breaking countless web standards zealot website&#8217;s. So much for saving time and the myth of forward compatibility.<\/p>\n<p><strong>PEOPLE SHOULDN&#8217;T USE HACKS TO MAKE THEIR CSS WORK!<\/strong><\/p>\n<p>It gets me &#8216;hot under the collar&#8217; when I see articles that promote the use of CSS hacks &#8211; <strong>this is bad practice for obvious reasons<\/strong>. <\/p>\n<p>I&#8217;ve been warning about this for some time before the IE7 problem. None of these web standards zealots payed me much attention before the IE7 problem came to light; and now after this problem has been well publicized, it seems that these people still have their heads in the sand!<\/p>\n<p><strong>CSS FOR PAGE-LEVEL LAYOUT IS WEAK<\/strong><\/p>\n<p>Even in a perfect world, where all the browsers supported the standards perfectly, CSS page-level layout capabilities suck for many types of layouts &#8230; HTML tables are much easier to use. <\/p>\n<p>That said, there is a CSS tables specification that works like HTML tables, but no browsers support it! There should be a &#8216;call to action&#8217; to force browser makers to implement CSS tables. <\/p>\n<p><strong>Note:<\/strong> <\/p>\n<p>Tables are grids, and grids are a proven tool for page layout that are used in programming languages (like Java) to create user interfaces. <strong>It&#8217;s about time that we web-nerds have access to this powerful and flexible system of page layout in CSS. <\/strong>For now, we can use HTML tables.<\/p>\n<p>HTML tables may not be semantically correct, and&nbsp;they may bind your formatting to your page structure, but&nbsp;they will work in all browsers without the need for fragile hacks and they are really easy to use.<\/p>\n<p><strong>&nbsp;CONCLUSION<\/strong><\/p>\n<p>Web standards were created to make web design easier for web developers by having the browser makers build their browsers according to a standard specification &#8211; the web standards. <\/p>\n<p>As soon as you have to work harder, and have to jump through hoops (use hacks) to make your pages work &#8211; the point of the&nbsp; web standards is lost. It makes no sense to try and force web standards (in ultra-strict terms,) unless <strong>the browsers properly support the web standards &#8211; they don&#8217;t right now<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently was surfing the web and found myself on a popular web standards zealot website. The featured article referred to 3 column CSS based page layout as being the &#8216;Holy Grail&#8217;! My first reaction to this was: geez, how silly this&nbsp;is! &#8230; Indeed, a simple thing&nbsp;like&nbsp;a 3 column layout is a challenge &#8211;&nbsp;when you &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/63"}],"collection":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":2,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":4816,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions\/4816"}],"wp:attachment":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}