W3C home > Mailing lists > Public > www-style@w3.org > July 1997

RE: margin support in IE vs NS vs spec

From: Chris Wilson (PSD) <cwilso@MICROSOFT.com>
Date: Wed, 2 Jul 1997 15:36:03 -0700
Message-ID: <41F7F4CE3CA2CF11BC5000805F14B2A901F17202@RED-31-MSG.dns.microsoft.com>
To: "'Sho Kuwamoto'" <skuwamoto@macromedia.com>, www-style@w3.org
I believe your understanding is correct.  We do not claim to support
margins, borders or padding on inline elements.

	-Chris
Chris Wilson
cwilso@microsoft.com
***

> -----Original Message-----
> From:	Sho Kuwamoto [SMTP:skuwamoto@macromedia.com]
> Sent:	Wednesday, July 02, 1997 2:51 PM
> To:	www-style@w3.org
> Subject:	margin support in IE vs NS vs spec
> 
> I notice that both IE and Netscape seem to treat margins
> in a funny way when applying them to inline elements.
> 
> Source:
>   Before before before. <span style="margin-left: 1cm">This is
>   inside the span. I have to make this part long in order
>   to make the example make sense.</span> After after after.
> 
> as rendered on IE4:
>   Before before before. This is inside. I have to make this part
>        long in order to make the example make sense. After
>   after after.
> 
> Netscape renders it similarly, except that the sentence starting
> with "This is inside" actually moves left so that it starts
> 1cm from the edge of the canvas and overlaps the text which
> came before it.
> 
> My reading of the spec suggests that the proper rendering
> for margins on inline elements is thus:
> 
>                      1cm of space
>                          |
>                          V
>   Before before before.      This is inside. I have to make
>   this part long in order to make the example make sense. After
>   after after.
> 
> Is my understanding correct?
> 
> -Sho
> 
Received on Wednesday, 2 July 1997 18:36:07 GMT

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