Tech Note: Tabular Exorcism

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

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.

History doesn't repeat itself. It stutters.

TwitterFacebook
LGF Pages
Recent Pages

Ms. MacIceweasel
Half of Conservatives Are Now Against Breast Cancer Screenings
35 minutes ago
Views: 15 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Trial opens 2 years after feds break up Christian militia
1 hour, 6 minutes ago
Views: 47 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Obama's budget headed to Congress
1 hour, 21 minutes ago
Views: 56 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Dreyfus and the Birth of Intellectual Protest
4 hours, 10 minutes ago
Views: 56 • Comments: 0
Tweets: 0 • Rating: 1

researchok
The Man Who Wouldn't Die: New York's Most Fantastic Murder
4 hours, 13 minutes ago
Views: 82 • Comments: 0
Tweets: 0 • Rating: 3

researchok
Mitt's Spin
4 hours, 15 minutes ago
Views: 55 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Strategy
4 hours, 16 minutes ago
Views: 50 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Gender Wage Gap Skewed by Survey Flaws - Miller-McCune
4 hours, 17 minutes ago
Views: 56 • Comments: 0
Tweets: 0 • Rating: 1

researchok
Why Obama Would Be Glad if the Culture War Is a Major Election Issue
4 hours, 17 minutes ago
Views: 75 • Comments: 0
Tweets: 0 • Rating: 1

researchok
Is This the End of Wall Street as They Knew It?
4 hours, 17 minutes ago
Views: 63 • Comments: 0
Tweets: 0 • Rating: 1

 Frank says:

Eddie, are you kidding?