Tech Note: Tabular Exorcism

Charles Johnsonfollow me on twitter
Science • Sun Oct 5, 2008 at 2:30 pm PDT • Views: 212

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 <ul> tag, which keeps all the floated <li>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.

Advertisement

209 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Account Settings Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► Resources

► Never Forget

► Statistics

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

Propellor beanie upon him.

TwitterFacebook
LGF Pages
Recent Pages

Bob Dillon
CA Prison Officers Spent More Than $1 Million on Political Advice
2 minutes ago
Views: 2 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
China Withdraws Support to Assad
9 minutes ago
Views: 9 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
'Assad Using Chemical Warfare in Homs Attack
12 minutes ago
Views: 8 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
Weapons: Neutering Ammonium Nitrate
22 minutes ago
Views: 15 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Stabenow Up 14 on Hoekstra as Ad Backfires - Public Policy Polling
58 minutes ago
Views: 58 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Youth for Western Civilization Takes 'Patriot' Plunge
1 hour, 9 minutes ago
Views: 53 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
'Sovereign Citizen' Sues Government Over Grammar
1 hour, 13 minutes ago
Views: 62 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Apple 'Determined' to Improve Conditions at Plants in China
1 hour, 32 minutes ago
Views: 50 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Something From Nothing - a Conversation W/ Richard Dawkins & Lawrence Krauss
1 hour, 34 minutes ago
Views: 56 • Comments: 0
Tweets: 0 • Rating: 0

researchok
California's Demographic Revolution
4 hours, 59 minutes ago
Views: 96 • Comments: 0
Tweets: 0 • Rating: 2

 Frank says:

There will never be a nuclear war; there's too much real estate involved. -- Zappa on the Tonight Show, C.A. 1988