In this example, the child element (#content) inside the first div is bigger than div's height and width (the child is 800x2500 while its parent is 250x400), so we have added a scrollbar.
Click the button to get the clientHeight, offsetHeight, clientWidth and offsetWidth of div.
Notice how the scrollbar in the first div "steals" some of div's right and bottom padding, which results in a lower return value for clientHeight and clientWidth in that div, compared to the other one. The offsetHeight and offsetWidth is not affected by this.