Results 1 - 1 of 1

Determining the dimensions of elements

There are several properties you can look at in order to determine the width and height of elements, and it can be tricky to determine which is the right one for your needs. This article is designed to help you make that decision.  Note that all these properties are read-only.  If you want to set the width and height of an element, use  width and height; or, the overriding min-width and max-width, and min-height and max-height properties.
client height Client width CSSOM View Guide Intermediate NeedsCompatTable NeedsSpecTable offsetHeight offsetWidth size of displayed content