Marc Lambrichs wrote:[color=blue]
> I want to dynamically (cross-browser) read the width of the table a td
> element belongs to. Any ideas?
>
> Cheers,[/color]
Assuming
<td id="idTableCell " ...>
then
var WidthOfTable =
document.getEle mentById("idTab leCell").offset Parent.offsetWi dth;
should work in MSIE 6 for Windows in standards compliant rendering mode,
Mozilla-based browsers (17 browsers) and Opera 7.x
Comment