The CSS margin properties define the space around elements. It is possible to use
negative values to overlap content. The top, right, bottom, and left margin can
be changed independently using separate properties. A shorthand margin property
can also be used to change all of the margins at once.
Note: Netscape and IE give the body tag a default margin of
8px. Opera does not! Instead, Opera applies a default padding of 8px, so if one
wants to adjust the margin for an entire page and have it display correctly in
Opera, the body padding must be set as well! |