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 ray <[EMAIL PROTECTED]>

> 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,  for example:
> <a style="font-size:150px;" href="#"><img style="height:20px;"
> src="foo.jpg"
> /></a>
> where the img would be positioned? and why?
> I searched the CSS 2.1 specification, but didn't find any information.
> Could
> somebody help me out? Thanks in advance.
>
> All the best
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>



-- 
Iñigo Medina García
Tecnología

http://www.toprural.com
Tu guía de turismo rural
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to