On Thursday 2006-02-02 04:55 +0100, francky wrote:
> testpage "Opacity-support in FF1.07 halfway?" 
> <http://home.tiscali.nl/developerscorner/css-discuss/transparency_herited-by-FF-test.htm>
>  
> (+ screenshots seen in Win98SE); css is inside.
> 
> Canceling the opacity is giving #box2 on the foreground, as expected. - 
> So can I trust my eyes?
> In the w3c-rec's I can't find an explanation.
> And how about FF1.5? Is then #box1 behind #box2?

Opacity does affect z-ordering, just like position:relative does.
(This would be clear in any CSS3 version of
http://www.w3.org/TR/CSS21/zindex.html , but opacity isn't in CSS2.1, so
it's not described there.)

If you add #box2 { position:relative } then you'll get the effect you
want, since making something positioned has the same effect as opacity.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Attachment: pgpX1d3b5YFND.pgp
Description: PGP signature

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to