W3C home > Mailing lists > Public > www-style@w3.org > February 1998

MSIE style-sheet bug

From: Rasmus Kaj <kaj@cityonline.se>
Date: Tue, 17 Feb 1998 18:06:56 +0100
To: www-style@w3.org
Cc: kaj@cityonline.se
Message-Id: <19980217180656S.kaj@cityonline.se>

There seems to be 'near consensus' on this list that the microsoft
implementation of CSS is close to correct and Netscape is far out.

If so, am I wrong in thinking that this:

.margin { display: block; margin-left: -9em; width: 8em; float: left;
}

Should make elements (i.e. DIV) of class='margin' flow beside the
column, given that the containing body has margin-left >= 9em.

I have tried a number of variants on this theme, and most of them look
good in Navigator. MSIE ignores the float _and_ the limited width,
making the width euqal to that of the containing element.

For an example, look at http://www.e.kth.se/~kaj/en.shtml

// Rasmus Kaj

-- 
kaj@cityonline.se --------------- Rasmus Kaj - http://www.e.kth.se/~kaj/
 \               CityOnLine IB Production AB - http://www.cityonline.se/ 
  \------------------------- Unite for Java! - http://www.javalobby.org/
Received on Tuesday, 17 February 1998 12:07:16 GMT

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