Home » questions » HTML design - Want table to have set width on left AND right with the center variable?
HTML design - Want table to have set width on left AND right with the center variable?
Every time I try to do this, it doesn't work. I want a set widht for left and right columns and the middle column to be variable width depending on the page width. I don't want to use table-less design. I have tried setting the width property in the TD tags and using stylsheets, but neither seems to work.
Unfortunately, my table is already 100% and I set widths for the two outer columns while trying * and nothing for the middle width and it didn't work.
Tim G may be right that it will always give more room to the outer ones when there's not enough content in the middle, but if that's the case. I may try the left and right aligned tables instead. Perhaps using float. I'll let you know how it worked.

Answers
pr_helpdesk
On 2006-08-02 06:48:03
Joey
On 2006-08-02 07:06:44
Tim G
On 2006-08-02 14:13:26
Igi Bhoy
On 2006-08-02 08:04:21
interested dude
On 2006-08-02 06:47:06
ciaran_foley2003
On 2006-08-02 08:49:21