W3C home > Mailing lists > Public > www-style@w3.org > March 2001

Re: Who know the edge of containing block?

From: Ian Turner <vectro@stop.mail-abuse.org>
Date: Mon, 12 Mar 2001 08:56:20 -0800 (PST)
To: yogaj@viasoft.com.cn
cc: www-style@w3c.org, www-style@w3.org
Message-ID: <Pine.LNX.4.10.10103120855110.863-100000@crafter.house>
If you're asking what I think you're asking, it's the content edge.

If you have this:

P { width: 100ex }
IMG { width: 100% }

and this:

<P><IMG SRC="foo.png"></P>

Then the image will be scaled to be 100ex wide.

On Mon, 12 Mar 2001 yogaj@viasoft.com.cn wrote:

> Hi,
> 	I can't decide the edge of containing block of generated box. Padding edge or content edge of the box?
> 	Thanks.
> 
> Yoga
> 
Received on Monday, 12 March 2001 11:57:55 GMT

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