Margins and IE 4.5 for the Mac (example)

> Could you give me an example or URI to an example which demonstrates how
> "this doesn't work" as you put it?

It's not so much that a feature doesn't work as that it works (or is
implemented) differently in IE 4.5 than in IE 5.0.

Here's an example:

<html>
  <head>
<style>
      body { margin: 0 0 0 3em; }
      #nomargin { margin: 0 0 0 0; }
      #noemafter { margin-bottom: 0; }
</style>
  </head>
  <body>
    <center><h1 id="nomargin">Yes?</h1></center>
    <center><h3 id="noem">No.</h3></center>
  </body>
</html>

If I understand correctly (and I have to admit to being new to stylesheets),
the "Yes?" and the "No." should *not* be centered under each other and that
is how these words are rendered by IE 4.5. However, in IE 5.0, the words are
centered under each other.

Is this a case of 4.5 doing what it should and 5.0 not?

Thanks for your indulgence,
Jeff Ratliff

Received on Monday, 10 May 1999 12:26:55 UTC