One of the many ways in which Firefox, Netscape, Internet Explorer, and other browsers interpret the same HTML code differently is when
margin: auto
is used to center a block on a webpage,
such as a div section. Adding margin: auto
to the
style definition for a block will result in the block being centered
when viewed in Firefox or Netscape, but it isn't sufficient to result
in the display of a centered block in Internet Explorer. To have
the block centered in Internet Explorer, you have to also add
text-align: center
to the style definition of the body tag.
[ More Info ]