Lower div opacity - keep inside divs opacity at 100%
Hi, so this is my situation.
The background of the body is whole black. I created a div (a block of 100% height and 208 px wide) and I lowered it's opacity at 0.6. But inside that div I want to create another divs and I don't want them to have 0.6 opacity as well, I want them to NOT BE transparent AT ALL.
Does anyone have an idea about how can I do this? Thanks in advance.
Internet Explorer added support for rgba with v9.0. Everybody else has supported it for years.
The best tool for compatibility I've ever seen is When Can I Use?. Enter any CSS or HTML into the box and you get a complete compatabilty chart for both desktop and mobile browsers, with helpful implementation links. Just amazing.
Very important details for the OP, since a very large portion of folks, upwards of 50% for many sites, are using what you've declared a legacy browser.
You can also employ a 1px by 1px semi-transparent png, for the background of the div. It can be made to work with older browsers with this plugin: http://jquery.andreaseberhard.de/pngFix/
Bookmarks