Log in

View Full Version : Link background color on image background



slumdog
02-23-2009, 06:30 AM
Check out the image in the attachment. This is done using ASP:Menu and for some weird reason there is a different text background color on top of the background image. For the life of me I cannot get rid of it.

I am using asp:menu object to populate the menu.

.clsStaticMenuItem /*visible static menu item style*/
{
color: White;
border-left: 0pt solid gray;
width: 160px;
height: 35px;
background-image: url(images/bg1.jpg);
}

What is the style which can get rid of such a color??

Snookerman
02-23-2009, 06:32 AM
Please post a link to the page on your site that contains the problematic script or attach your entire code so we can check it out and help you.

slumdog
02-23-2009, 06:43 AM
Sorry I cannot make the documents public on out site. How about the attachment which contains the relevant files in htm format? Hope you can reproduce. Thanks bunch.

X96 Web Design
02-24-2009, 01:25 AM
Hey There,

Instad of using


background-image

use:


background:transparent url(...);

Hopefully this helps!

Cheers,
X