as table column widths are generally not set but determined by the window or container size and the cell content is there any way to find the width of any of the table elements? i have tried currentStyle, getAttribute and pixelWidth / pixelHeight, but they all either return nothing or auto. how useful is that? surely it must be detectable somehow? the reson i need this info is that i am using an iframe in a cell in a nested table. the nested table doesn't contain anything else and hence i have to manipulate the width of the containing td to get the iframe to display.
"uniquely frustrated" <uniquely frustrated@discussions.microsoft.com> wrote in message news:A84B5236-93D0-4DAA-A98A-7EF67DE19F47@microsoft.com > as table column widths are generally not set but determined by the > window or container size and the cell content is there any way to > find the width of any of the table elements? offsetWidth > the reson i need this info is that i am using an iframe in a cell in a > nested table. the nested table doesn't contain anything else and > hence i have to manipulate the width of the containing td to get the > iframe to display. Can't you specify an <iframe width="X"> attribute, where X is the desired width of an iframe in pixels? -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925