Keith Hughitt wrote:
Quote:
A little off-topic, but, does anyone know if it's possible to set the
opacity of jpeg images in IE7+? For firefox, the css "opacity"
property works fine on most image types including jpegs. On IE,
however, the equivalent filter, "(filter: alpha(opacity=...)," only
works with PNG images.
Anyone know if it's possible to get the property to work for jpeg
images as well? |
As per my test, the following should work on MSIE6 (XP) and MSIE7
(Vista):
<img src="http://www.dotinternet.be/img/header/webdesign_e.jpg"
border="0"
style="filter: alpha(opacity=25)"
Maybe MSIE could have problems if your JPEG-file has an unusual codec
(?)
http://en.wikipedia.org/wiki/JPEG
Hope this helps,
--
Bart