Log in

View Full Version : Image Background Transparency



earlp
08-03-2009, 02:27 AM
I created a button to use with my drop-down menu. In Paint Shop Pro, I saved it as a .gif file, with transparent background. I made the background various colors, red, black, green, etc. I can post this image on a web page and the background is transparent. However, when I use it as a drop-down menu (in a table) with the code...

<img border="0" src="images/Buttons/BlueMembers.gif" class="menuanchorclass" rel="menu1" rev="lr" width="160" height="58"><br>

and with the table opening

<td width="100%" valign="top" bgcolor="#C2CDC6" bordercolor="#C2CDC6">

the background shows Yellow.

Why?

Earl

bluewalrus
08-03-2009, 02:34 PM
Need all of your code.

earlp
08-03-2009, 06:45 PM
The Default.htm file contains my code.
The image file is attached.
my menucontents.js is attached.

Assume you don't need the anylinkmenu.js and anylinkmenu.css files.

I didn't see the htm file that I uploaded so the link to that is...
http://www.pearnet.com/ats/default.htm

Thanks

bluewalrus
08-03-2009, 10:22 PM
Remove "background:yellow none repeat scroll 0 0;" from ".selectedanchor" in your css.