Click to See Complete Forum and Search --> : Transparent Image Background Color


JDM71488
07-18-2003, 06:50 PM
Hello,

I could not find the answer to this off of many searches at yahoo... How can I set the background color of my page and add a transparent image on top of that?

I just inserted "background-image:url(mypic.gif)" into the body{}. When I view it the image displays on a white background. Is there a way to change the color???

Stellar
07-19-2003, 02:41 AM
There is a tag for making your background color transparent..

body { background-color:transparent; }

But I believe what you are trying to do can only be done in photo editing software such as Adobe Photoshop or Paint Shop Pro.

You have to cut out the image on one layer and place it on top of a transparent (100% opacity) layer.

DaveSW
07-19-2003, 08:07 AM
For a guess, you want this:

<body style="background: #c0c0c0 url(mypic.gif) no-repeat center;" >