>> Set your div without transparency inside the outer div and keep it  
>> horizontally centered. Set your last <div without transparency> to  
>> have background-color: #fff; (or whatever color you want).
>
> nested divs all contain the transparency of the outer div no matter  
> what i do.
>
> rush.

This works for me in Safari and Firefox, but doesn't in IE5.2 on Mac.  
So it's a problem with _that_ browser. Perhaps the Holly hack will  
work. I assume it's got something to do with the Explorer hasLayout  
issue. Sorry I'm not helping you further, but I'm desperate to leave  
work right now.

-eystein

<style>
                body { background: yellow; }
                #outer { background: transparent; }
                #not_transparent { background-color: grey; }
</style>

<div id="outer">
        <div>
                <p>Some text w. transparent background </p>
        </div>
        <div>
                <p>Some text w. transparent background </p>
        </div>
        <div id="not_transparent">
                <p>not transparent! </p>
        </div>

</div>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to