RE: margin support in IE vs NS vs spec

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 UTC