quirks mode full standards mode

Block sizes

Here we have two <div> objects (width: 400px).

In compatibility mode in Internet Explorer and Opera both objects have equal width. In standards mode the second object is wider as there is inner padding: 0 20px;.

Mozilla and Safari always add spacing value and padding width to the size of the objects.

block without padding:
padding: 0px;
block with 20px padding:
padding: 0 10px;