On Jan 27, 2008, at 1:10 AM, Mark Finney wrote:

> Could you make a div container with position:relative and place the  
> image
> inside it position:absolute top: 0; right: 0; bottom: 0; left: 0;?  
> I think
> the image should stretch with the div it is inside. Not sure if  
> this is a
> valid suggestion but to my mind it seems it would work...

No, that won't work. The width/height of the image will fall back on  
its intrinsic width/height.
see <http://www.w3.org/TR/CSS21/visudet.html#abs-replaced-width>
and <http://www.w3.org/TR/CSS21/visudet.html#abs-replaced-height>

- well it 'works' In Gecko1.8.1, but that is a bug that is fixed in  
Gecko 1.9 (like Firefox 3.0b2).

On the other hand, just to muddy the waters a bit (!), there is some  
(very recent) discussion on the validity of 10.3.8/10.6.5.
start of discussion thread on WWW-style
<http://lists.w3.org/Archives/Public/www-style/2008Jan/0432.html>

Philippe
---
Philippe Wittenbergh
<http://l-c-n.com/>





______________________________________________________________________
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