Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- bgsleight css hover problem


theylan - 11:20 pm on Jun 28, 2006 (gmt 0)


IE supports png transparency natively if restricted to 256 colours, but there are a number of workarounds in order to get better results - the javascript I mentioned is one such workaround, google it and it's all over the place. I have not had a problem with getting transparency normally - I am just having problems getting the hover pictures to have transparency.

Thank you for the suggestion though, I would use gifs, but I need higher quality menu components and 256 colours just doesn't cut it :)

The only thing I can think is that the javascript is not working on the hover components as the hover components are not loaded at the same time as the css is called, so maybe i could call the java script in the css file? I don't really know 100% how to do that though, and I have read that it isn't the best of ideas to do that anyway :S

Anywho, any other ideas as to why the normal menu pngs are displaying the transparency fine with the workaround, whereas the hover components don't, will be welcomed with open arms! :)

Thanks again all


Thread source:: http://www.webmasterworld.com/css/9316.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com