PDA

View Full Version : How to get size of element's margin as the number of pixels ?


SlavaTT
04-30-2004, 11:29 AM
Hi,

I need to calculate height of my span element that has
border 1 px and a margin around it.
I see that offsetHeight returns me only height size including borders.
How to get height of span including those margins ?

Thanks

Vladislav