How do I import a transparent background image from CS3 Photoshop into CS3 Dreamweaver? | Programming, .NET, Silverlight & More

How do I import a transparent background image from CS3 Photoshop into CS3 Dreamweaver?

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)

2 Responses

  1. look-up Says:

    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

  2. B K Says:

    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 :

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.