Tech Note: Tabular Exorcism

Science • Views: 2,149

The latest change behind the scenes is huge, but hopefully you won’t even notice.

Ever since LGF began, back in the Paleostinky Era, our main template has been based around a simple HTML table with three columns. No nested tables (gasp!) or anything like that, but in the world of web wonks, this kind of table-based design is akin to walking around with a piece of spinach stuck between your front teeth.

So at long last we’ve ditched the tables, flossed our web choppers, and deployed a modified version of the three column floated layout described in this excellent book: CSS Mastery: Advanced Web Standards Solutions: Andy Budd, Simon Collison, Cameron Moll.

There may still be some bugs to work out, but the worst of them have been crushed. The layout looks the same in Internet Explorer 6 and 7, Safari 3, and Firefox 3.

One big advantage is the increased accessibility. Using this sort of floated layout allows us to have the main content column actually appear first in the source listing, before the left and right sidebars; this means that visitors with impaired vision who use screen readers no longer have to wade through the whole left sidebar just to get to the real stuff.

There’s one area left in the template that still uses a table: the navigation panels that appear at the top and bottom of the middle column. But that’s due for an exorcism too.

UPDATE at 10/5/08 6:24:16 pm:

Main template exorcism completed, and I didn’t even need to call in Bobby Jindal (sorry, couldn’t resist). The navigation panels now use an unordered list, with everything floated, including the opening

    tag, which keeps all the floated
  • s from overflowing their containers. Because we all know how painful that can be.

    And that leaves us with one more area of table abuse: the top line of each comment, with the commenter’s information, rating buttons, etc.

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2023-04-04 11:11 am PDT
LGF User's Guide RSS Feeds

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Cash.app
Recent PagesClick to refresh
Once Praised, the Settlement to Help Sickened BP Oil Spill Workers Leaves Most With Nearly Nothing When a deadly explosion destroyed BP’s Deepwater Horizon drilling rig in the Gulf of Mexico, 134 million gallons of crude erupted into the sea over the next three months — and tens of thousands of ordinary people were hired ...
Cheechako
Yesterday
Views: 69 • Comments: 0 • Rating: 0
Texas County at Center of Border Fight Is Overwhelmed by Migrant Deaths EAGLE PASS, Tex. - The undertaker lighted a cigarette and held it between his latex-gloved fingers as he stood over the bloated body bag lying in the bed of his battered pickup truck. The woman had been fished out ...
Cheechako
4 days ago
Views: 169 • Comments: 0 • Rating: 1