Re: Who know the edge of containing block?

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 UTC