Hey, i was wondering if there is a opacity CSS code i could use that works in IE as well as Fire Fox? I'm trying to make semi-transparent tables
I used opacity: 0.6; and it worked in FF but not in IE 6.
When i added in
filter: alpha(opacity=60); & opacity: 0.6; to the css sheet it worked in both, is this alright?
I'd like to get something that works in all browsers if i could in case someone isn't updated to the latest.
Thank you!
Making Opacity CSS work in most browsers
Started by John Miller, Jul 22 2009 11:33 AM
1 reply to this topic
#1
Posted 22 July 2009 - 11:33 AM
#2
Posted 23 July 2009 - 09:32 AM
You can do something like this (Just the way you did):
As for IE6, opacitys do not work. So go around it, you can use a .PNG transparent image to display an opacity background:
I wouldn't worry about IE6. IE6 users are decreasing everyday. And eventually, designers dream will come true - No more IE6.
Hope that helps!
.shade {
filter: alpha(opacity=70);
}
As for IE6, opacitys do not work. So go around it, you can use a .PNG transparent image to display an opacity background:
.shade {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='shade.png', sizingMethod='scale');
}
I wouldn't worry about IE6. IE6 users are decreasing everyday. And eventually, designers dream will come true - No more IE6.
Hope that helps!
Edited by Jurnky, 23 July 2009 - 09:32 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
