Re: 100% table width with pixel-width-specific columns?
by "Comharsa" <comharsa(at)clara.net>
|
Date: |
Mon, 27 Mar 2000 08:55:49 +0100 |
To: |
"David Clapper" <dclapper(at)clioassociates.com>, <hwg-techniques(at)hwg.org> |
References: |
clapper02 |
|
todo: View
Thread,
Original
|
|
From: "David Clapper" <dclapper(at)clioassociates.com>
> I have a table which has 3 columns. We want the first and second columns
to
> be specific pixel widths - but we want the third (rightmost) column to
fill
> the remainder of the page. Can't quite seem to figure this one out.
Try setting the table width to 100%, then the three column widths to
specific, specific, 100%. It might be an idea to include an extra row
(either at the start or the end), including a transparent 1x1.gif sized to
the required width for the first two columns. This will force them to open
to the correct width.
Works in IE5 and NS4.7, though NS will leave the space for a scrollbar
unless the page is long enough (when the scrollbar will be there anyway).
HTH
Brian
comharsa(at)clara.net
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA