Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can JS determine the height of a table?

10 views
Skip to first unread message

Jonathan Hall

unread,
Dec 10, 1996, 3:00:00 AM12/10/96
to

G'day,

I'm trying to use tables to put a border around a body of text. This I
can do. But, if the body of text is changed I'd like the images on the
left and right to have their height dynamically adjusted to border the
table snuggly.

Essentially what I'd like to do is to determine the height of the table
and then use JS to scale the images accordingly.

Any ideas? Please cc to my email addr.

Thanks,

Jon

Kreme

unread,
Dec 10, 1996, 3:00:00 AM12/10/96
to

Jonathan Hall <j...@atwww.com.au> wrote in article
<32AD0A...@atwww.com.au>...

> Essentially what I'd like to do is to determine the height of the table
> and then use JS to scale the images accordingly.

I'd love an answer to this as well, involving JS or not, I don't care.

I have a table with 80 rows. The first column is a graphic that I would
like to be the exact lenght of the 80 rows. I can't figure out how to do
this so that it is always the right length regardless of font settings,
etc.


parv

unread,
Dec 10, 1996, 3:00:00 AM12/10/96
to Kreme

Kreme wrote:
> I have a table with 80 rows. The first column is a graphic that I would
> like to be the exact lenght of the 80 rows. I can't figure out how to do
> this so that it is always the right length regardless of font settings,
> etc.

have you tried:

<img ... height="100%"> ?

0 new messages