[jQuery] Getting element dimensions
> Well if you know the innerheight, and the height of the total element,
> you can get the (total) height of the padding, right?
Here's an example:
#box { width: 30%; padding: 1em; }
I can get the "inner" CSS width of #box (30% of the parent, who's width is
say 100em), the padding left/right (1em each, 2em total), and the
clientWidth (let's say it is 182 pixels). What would be the code to figure
that out?
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/