I wanna get the actual width of a element for presentation. How can I get it? I see HTML element has offsetWidth attribute but I can't find this attribute in XUL element
+2
A:
Using element.getBoundingClientRect() or the older element.boxObject.width
.
Nickolay
2010-01-04 23:33:33