Skip to content

Why tables for layout is stupid…

Why tables for layout is stupid: problems defined, solutions offered.

A very pretty (and–judging by the number of translations it’s had–popular) presentation on the evils of using HTML tables for layout.

I remain sceptical: try this test: walk up to your friendly neighbourhood CSS zealot and whisper into his/her ear: “I want a flexible layout that adapts to the browser’s current width/height. It should work on IE/Mozilla/Safari and Opera.” Step back! Be prepared! You are about to recieve an outpouring of CSS styles, DIVs and (probably) Javascript, all (hopefully) replicating the built-in features of the plain-old HTML <table>.

Don’t get me wrong: I am happy with the “tables are evil’ Zeitgeist, I just can’t accept the CSS ’solution.’ Maybe HTML5?

Tags: ,

Java Enterprise Edition, JEE, JavaServer Pages, JSP, Tag Libraries, Servlets, Enterprise Java Beans, EJB, Java Messaging Service JMS, BEA Weblogic, JBoss, Application Servers, Spring Framework, Groovy, Grails, Griffon, Seam, Open Source, Service Oriented Architectures, SOA, Java 2 Standard Edition, J2SE