Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PNG Transparency Lost When Changing Div's Opacity

Status
Not open for further replies.

chant9

Technical User
Aug 30, 2005
7
Hi

I have a div that I fade in and out using javacript and the opacity style setting. On the div i have a dropshadow using a PNG as a background and the png transpacency works fine normally.

However when I use Javascript to fade the div to disappear, the next time I fade the div to reappear the transparency in the PNG is lost and it goes solid black.

Does anyone know what could be causing this? Its fine in Firefox but IE7 gets the problem.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top