quirks mode | full standards mode |
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.
padding: 0px;
padding: 0 10px;