W3C home > Mailing lists > Public > www-style@w3.org > May 1999

Margins and IE 4.5 for the Mac (example)

From: <Jeff@Ratliff.com>
Date: Mon, 10 May 1999 16:17:50 -0000
Message-ID: <000701be9b00$b613aa80$2bc5ccc2@edu.ac.ma>
To: "www-style" <www-style@w3.org>
> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:59 GMT