---- Center the middle column in a 3-column table?
Tonearm - 7:36 pm on Jan 1, 2013 (gmt 0)
But you need to be concerned about them, because if they are different, then the middle cell will be off center. That's why one of my ideas was making a table with fixed layout so the side cells are the same width.
My design expands to fill the width of the browser so I can't define a fixed width unfortunately.
That's assuming the container itself is centered (is it the whole page?)
It's the whole page.
I assume you've dealt with the rock-bottom basics like giving each cell the same left and right padding and border, if any.
Yes, I just double-checked that.
What you need to look at is those two side cells or columns. What's their content? Is it about the same amount of material in each? Text or something else?
Both side cells contain roughly the same amount of text.
This is all assuming it's a bona fide table -- that is, there's a direct relationship among the items in each row * -- and not just a layout shortcut.
You got me, it's a layout shortcut. Is there a better way to do this?