On Dec 20, 3:14 pm, Martijn <[email protected]> wrote: > On Sat, Dec 20, 2008 at 10:30 AM, fancyerii <[email protected]> wrote: > > A. All HTML elements have offsetWidth and offsetHeight properties (see > >http://developer.mozilla.org/en/docs/DOM:element.offsetWidthand > >http://developer.mozilla.org/en/docs/DOM:element.offsetHeight). You > > can also use getComputedStyle (http://developer.mozilla.org/en/docs/ > > DOM:window.getComputedStyle) to get width/height information. You can > > also use the DOM Inspector in Firefox to view computed style. > > Yes, offsetWidth and offsetHeight is what you need.. > > Regards, > Martijn > > > _______________________________________________ > > dev-tech-layout mailing list > > [email protected] > >https://lists.mozilla.org/listinfo/dev-tech-layout > > -- > Martijn Wargers - Help > Mozilla!http://weblogs.mozillazine.org/qa/http://wiki.mozilla.org/Mozilla_QA_Community > irc://irc.mozilla.org/qa - /nick mw22
But what if I have frames in the HTML structure? the numbers I'm getting in such cases are not right - looks like I must also know the offset of the frame. Any idea how to do that? 10x, yakobom _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

