Okay, I am designing a website for a shop I used to work at, and I created a logo with a transparent background. I am trying to figure out how to import it (while still retaining the transparent background) into a Dreamweaver site. Every time I try to do it, it shows a white background for the 250×250 logo on the site, but I want the background to be completely transparent. How can I do this? Thanks in advance!
You need to save it as a PNG or GIF to use transparency on a web page. JPEG doesn’t support transparency in an image. Remember however, some older browsers don’t display PNGs with transparency.
No TweetBacks yet. (Be the first to Tweet this post)
April 25th, 2010 at 11:59 am
the easiest way.
<img src="my_background.jpg" width="250" height="250" alt="my background"
style="opacity:0.4; filter:alpha(opacity=40)" />
References :
http://www.8land.org
http://www.daypick.com
April 25th, 2010 at 12:16 pm
You need to save it as a PNG or GIF to use transparency on a web page. JPEG doesn’t support transparency in an image. Remember however, some older browsers don’t display PNGs with transparency.
References :