Re: Newbie Table Width Question
Re: Newbie Table Width Question
- Subject: Re: Newbie Table Width Question
- From: "Jerry W. Walker" <email@hidden>
- Date: Mon, 18 Sep 2006 15:00:50 -0400
Hi, Mike,
What you seem to be missing is that HTML tables are basically layout
suggestions for the browsers. There's no way to make the table's cell
width unchanging using table properties alone. However, you have a
couple options.
The first is to use CSS styles. You can give each of your cells in
the same column across the two tables the same class name and specify
the exact width for the class. Whereas, table cell widths are taken
as "suggestions" to the browsers, style properties are taken as orders.
The other option is to concatenate the two tables into a single table
with a cell that spans the five columns between them in which you put
"SOME TEXT DISPLAYED..... SOME HYPERLINK". This way, even though a
cell's width might still change, it will change identically for every
cell in the column, which would include the cells from what you've
currently defined as the other table.
Regards,
Jerry
On Sep 18, 2006, at 2:28 PM, Chip Myers wrote:
I have two separate tables on one webobjects page with the
following appearance:
Table 1
__________________
|___|___|___|___|___|
|___|___|___|___|___|
|___|___|___|___|___|
SOME TEXT DISPLAYED..... SOME HYPERLINK
Table 2
__________________
|___|___|___|___|___|
|___|___|___|___|___|
|___|___|___|___|___|
I'd like matching columns of both tables to have equal width.
However, when the textual contents of a cell exceed the set width,
the given cell stretches to accomadate the long text. Is there an
easy way to make a cell's width unchangeable? I currently have
each column set as static, with a width of 110 pixels selected.
What am I missing?
Thanks,
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial
Strength Internet Enabled Systems
email@hidden
203 278-4085 office
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden