Bits and Pixels - Cross-browser transparent columns
Submitted by admin on Tue, 2008-03-04 03:03
There is a way to make content transparent, using the opacity tag and a proprietary opacity filter in IE-based browsers. The problem with this CSS-property is that all children to the transparent element will be transparent as well, which often isn’t the desired effect.
Knowing all this, how do we create transparent columns that can work in all browsers? What if we could use the opacity property but still have the content opaque?
This is possible using some clever use of CSS-positioning. What we’ll be doing is having a parent element that contains two children. One transparent background that fills the entire width and height of the parent, and one child that contains the content. This way we can have a transparent background while the content remains opaque.
Visit the Website : ->:
Web Development: