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

Is it possible to force an object to be the same size as another?

0 views
Skip to first unread message

Richard Mahoney

unread,
Apr 26, 2002, 6:08:26 AM4/26/02
to
Is there a javascript which will force a table or <DIV> element to be the
same height and width of another (text filled) one on the page, even if the
table or div is empty?

The following code in my stylesheet works fine with IE, but with no other
browsers and was wondering if there was any alternative, maybe including a
javascript in the <body onload="...> tag...

top: expression(page2.offsetTop);
left: expression(page2.offsetLeft);
height: expression(page2.offsetHeight);
width: expression(page2.offsetWidth);

Note : "page2" is the div or table <ID> that I am copying the dimensions of.

Thanks in advance,
RM.


0 new messages