The "box model" in CSS works like this:
width + padding + border = actual visible/rendered width of boxheight + padding + border = actual visible/rendered height of box
It's a little weird, but you get used to it. In IE 6 and earlier, when in "quirks mode," the box model was treated differently.
width = actual visible/rendered width of boxheight = actual visible/rendered height of box
The border and padding values moved inward, cutting into the width/height of the box rather than expanding it. Here is a dramatic example of the difference:
It was weird quir
Additional text has been truncated due to copyright reasons. Things without URLs and private things don't get truncated.
All the things that you have created so far will remain in your account.
Already have an account? Login »