New to the site and still just trolling around... maybe a dead topic here but...
You can use nested div's and create transparent colored layers with just CSS.
You have to use some relative or absolute placement of your div's. It's not incredibly flexible yet... and you have to sort of design around the limitations at this point.
I've used this tactic on many sites and had success across all browsers.
Transparent layer has a fixed location, height, and width.
You can then fix your content div to the same size or not depending on your needs and design.
Place the content div in the same X,Y location relative to the 'container' DIV, and give the content div a higher Z-Index then the transparent color div.
This effectively places the 2 layers in the same place 1 on top of the other, and eliminates the parent-child relation.
Code:
<div id="container">
<div id="transparentcolor"></div>
<div id="content"><p></p></div>
</div>
seems rather constricting at first, but once you get the hang of it, makes for some great looking stuff.
~SMD
|