Support ⇒ Themes ⇒ css problem ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexThemes

css problem Reply to topic

Go to page Previous 1, 2

I followed this thread with great attention because i also spent a lot of time among this problem.

I also found no CSS solution, neither by trying myself nor on searching the web.
Since all major browsers nowadays support transparent PNGs i went over to this solution.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache/MySQL 5.1.49/PHP 5.3.6/ DF 9.3.2.0


The real CSS solution is with background-color:rgba(0,0,0,0.5); The problem using Opacity is that it sets the opacity value for an element and all of its children;

So the hack using !important, or using a different value on its child element is useless.

The PNG solution is valid, but only as a fallback ( as it costs an extra HTTP request) for old browsers (Internet Explorer 8,7).


background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#26ffffff,endColorstr=#5000000); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#26ffffff,endColorstr=#5000000); zoom: 1; background-color:rgba(0,0,0,0.5);

www.greenday2k.net

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are UTC
Go to page Previous 1, 2


Jump to: