Re: [css-d] about inline, replaced element

2008-11-20 Thread Ingo Chao
I'm not sure I understand the specification here, so maybe someone else helps me with answering your questions. ray wrote:... > 1. I think the container box of the element is the parent > block-level element of right? both the inline-box of and the inline-box of its descendant live in th

Re: [css-d] about inline, replaced element

2008-11-20 Thread ray
Thanks for you reply. I had read your some articles about CSS, they are great! I also have some questions: 1. I think the container box of the element is the parent block-level element of right? 2. Because the inline box generated by is the only inline box of its line box, so the baseline of th

Re: [css-d] about inline, replaced element

2008-11-19 Thread Ingo Chao
ray wrote: ... > /> > where the img would be positioned? and why? The initial value for vertical-align, baseline, applies. It affects the inline level elements in a line box. Therefore, the image, being inline by default, should align with the baseline of the parent -element. CSS 2.1: 9.4.2 In

Re: [css-d] about inline, replaced element

2008-11-19 Thread Iñigo
Hi ray, i'm not sure I've understood what you ask. But it's easy to do the proof and see what happens. :-) I've done it and the anchor element works as parent. So if there is text inside the element its font-size gives the position of the element but it does not resize it. iñ 2008/11/19 ray

Re: [css-d] about inline, replaced element

2008-11-18 Thread Alyda Gilmore
> From: ray <[EMAIL PROTECTED]> > Date: Wed, 19 Nov 2008 11:29:53 +0800 > To: > Subject: [css-d] about inline, replaced element > > Hi, All > > What if an inline, replaced element resides in another inline element? for > example: > > How the image would b

[css-d] about inline, replaced element

2008-11-18 Thread ray
Hi, All What if an inline, replaced element resides in another inline element? for example: How the image would be positioned with respect to the anchor element? For instance, if the font-size set on the anchor is very large and the height set on img is very small, for example: where the img wo