My understanding is, Width of an element = (left border width + left padding width + content width + right padding width + right border width) Height of an element = (top border height + top padd
html - How to compute width & height of an element? - Stack Overflow