- From: Rasmus Kaj <kaj@cityonline.se>
- Date: Thu, 19 Feb 1998 15:28:05 +0100
- To: bckman@ix.netcom.com
- Cc: www-style@w3.org
- Cc: kaj@cityonline.se
>>>>> "FB" == Frank Boumphrey <bckman@ix.netcom.com> writes: >> .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. >> For an example, look at http://www.e.kth.se/~kaj/en.shtml FB> em doesnt work very well in MSIE, try using in or pt. I tried that, and it didn't work. The .margin element still takes all the width it can get (it has a background color, so it's clearly visible) and dosn't float at all. The reference example is even simpler, it dosn't specify any width or margins, just float:left; so it should take the space it needs, just as an <img align="left" ...> in HTML ... // Rasmus -- 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 Thursday, 19 February 1998 09:28:50 UTC