Can I make an image partially transparent with CSS? If so, is it supported by most browsers?
Thanks!
bahamutz340
7:49 pm on Mar 8, 2005 (gmt 0)
In short, no
Not purely with CSS involves javascript and some odd directx script stuff and the ways to accomplish it are ugly and dont work with most browsers or require different code dependant upon which browser you are using.
duderdude2
7:54 pm on Mar 8, 2005 (gmt 0)
Ok, thanks.
How about this (two questions in one):
Can I make a text box in CSS (I forget what they're called) and give it a colored background? If so, can I make that background color transparent?
DrDoc
8:00 pm on Mar 8, 2005 (gmt 0)
Yeah -- don't give it a background color and it is transparent ;) Or, for that matter:
background: transparent;
duderdude2
8:04 pm on Mar 8, 2005 (gmt 0)
^ Thanks, but what if I wanted to make it, say, 50% transparent, could I do that?
bahamutz340
8:53 pm on Mar 8, 2005 (gmt 0)
no partial transparency in CSS, I sure wish there was, I would make some slick looking pages.