CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
Opacity in Opera 9???
cabe
Permalink to comment
#
January 2009
does anyone know how to set the opacity of a text in opera 9.x?
i tried opacity:.50 and filter:alpha(opacity=50), it doesn't work.
chriscoyier
Permalink to comment
#
January 2009
Off the top of my head I think Opera 9 supports "opacity". Looks like it might want a zero in front:
p {
opacity: 0.5;
}
Ramesh
Permalink to comment
#
January 2009
hi Chris check out this it works in all the browser except ie
<h1 style="opacity:0.4;filter:alpha(opacity=40);">Ramesh </h1>
cabe
Permalink to comment
#
January 2009
thank you, it works :)
Add a Comment
i tried opacity:.50 and filter:alpha(opacity=50), it doesn't work.
p {opacity: 0.5;
}
<h1 style="opacity:0.4;filter:alpha(opacity=40);">Ramesh </h1>