On 10/23/06, Jiang He <[EMAIL PROTECTED]> wrote:
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.

Regards,
Martijn

Thanks,

Jiang
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to