PDA

View Full Version : Table size question


kathode
07-31-2002, 05:13 PM
Hi all,

I am working on the design for a website that will basically be one large table divided into three columns. The two outside columns I want to be fixed-width, as they contain graphics and menus. The middle column will largely contain text, and I would like it to expand and contract based on the user's resolution. I was wondering what is the cleanest way to do this. Do I just define the middle column's width as 100%? Or do I not put a width on it? Or is this even possible? Thanks!
~k

x_goose_x
07-31-2002, 05:22 PM
Set the table width to 100% and set the outside cells width's in pixels. Do not set the width of the center cell.

kathode
07-31-2002, 05:55 PM
Great, thanks a ton :)

MCookie
07-31-2002, 06:05 PM
What x-goose-x said will work, but to keep the width of the outside columns fixed in most browsers, set the width of the middle cell to 100%.

MCookie
07-31-2002, 06:13 PM
About flexible tables:
http://www.sam-i-am.com/misc/TestSuite/tables/flexible_width.html

BrainJar
08-01-2002, 08:29 PM
Or you could avoid using tables for layout and use CSS instead.

http://glish.com/css/

gorilla1
08-02-2002, 01:07 AM
I like that glish stuff alot, but when they say, "I am cataloging here as many useful cross-browser CSS layout techniques as I can find", I take it they are referring to NS 6 only, not NS4.

G