Sep
17
Transparent images with CSS
September 17, 2008 | Leave a Comment
Did you know that you can create transparent images and divs very easy just by using CSS?
Here is how to do it:
<img src=”yourImage.jpg” width=”150″ height=”150″ alt=”image”
style=”opacity:0.4;filter:alpha(opacity=40)” />
In this example I used a image but you can also do it with divs and text.
Firefox uses “opacity” and IE uses “filter”. This is not a css standard [...]


