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 img element is the parent block-level
element of a right?
2. Because the inline box generated by a is the only inline box of its
line box, so the baseline
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 img element is the parent
block-level element of a right?
both the inline-box of a and the inline-box of its descendant img
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 a its font-size gives the position of the element
img but it does not resize it.
iñ
2008/11/19
Hi, All
What if an inline, replaced element resides in another inline element? for
example:
a href=#img src=foo.jpg //a
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,
From: ray [EMAIL PROTECTED]
Date: Wed, 19 Nov 2008 11:29:53 +0800
To: css-d@lists.css-discuss.org
Subject: [css-d] about inline, replaced element
Hi, All
What if an inline, replaced element resides in another inline element? for
example:
a href=#img src=foo.jpg //a
How the image would