- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi
Does anybody have a workaround for IE because it is not displaying transparent backgrounds. I am using the following and both types are not working in IE, but fine in Chrome and Firefox
background: url(bg.png);
}
background: rgba(0,0,0,.21);
}
Take a look at this
[https://css-tricks.com/rgba-browser-support/](https://css-tricks.com/rgba-browser-support/ “https://css-tricks.com/rgba-browser-support/”)
The only way to get around this problem is to create a transparent png file in Photoshop, set its opacity and repeat that using CSS over the area of your website. Take a look at the link above by @eamai, it is really helpful.
Hi
I have used a transparent png file background: url(bg.png); } bit it is still showing a solid colour?
Can you provide a link?
If you’re going to use an image with alpha transparency anyway, then lose the background color. You don’t need that anymore then.
like this. very easy http://www.websitecodetutorials.com/code/css/modern-css-opacity.php