[Seaside] CSS

Lukas Renggli renggli at gmail.com
Wed Jun 24 06:45:40 UTC 2009


> This makes everything semi-transparent, but now what I want to do is add a
> div 'with: [aDiv]' sorta thing, only make that opaque on top of the
> semi-transparent dialog.

That's a common CSS problem.

There are various solutions available, the most simple is to not make
the opaque element a child of the transparent element, but a sibling.
The other one is to apply the transparency only to the background
color, not to the complete element. Unfortunately this is not
supported on some browsers.

For details see for example <http://www.css3.info/opacity_rgba_and_compromise/>.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list