On 10/23/06, Jiang He <you...
> Can I use the Gecko engine to get the width information of some HTML
> elements (such as table,tr,td)? The element width information is not always
> available in the HTML source, but when the element is displayed, the width
> information is required. I think the layout engine calculates the width. Is
> there a way to retrieve the width of the element from the layout engine?
As far as I can see, you can just use the offsetWidth property.