centerwork Posted September 15, 2008 Share Posted September 15, 2008 Here is what I was wondering. Is there an way to get a nice clean drop shadow on a transparent image with out getting that disgusting white border around it or by coping the site background onto the image? I know you can with 24bit png. But, older browsers add a light background to the hold image frame area. Any help would be appreciated. thank you, Charlie. Quote Link to comment https://forums.phpfreaks.com/topic/124269-solved-transparent-image-with-drop-shadows/ Share on other sites More sharing options...
Daniel0 Posted September 15, 2008 Share Posted September 15, 2008 Something that's transparent doesn't have a shadow. The light kind of shines through it you know Quote Link to comment https://forums.phpfreaks.com/topic/124269-solved-transparent-image-with-drop-shadows/#findComment-641718 Share on other sites More sharing options...
zq29 Posted September 15, 2008 Share Posted September 15, 2008 Not going to happen, GIF files do not support alpha transparency, and only have a limited pallette of 256 colours. Although pointless, you can actually change the colour of the background on older browsers - Its the secondry/background colour set in your graphics package. Quote Link to comment https://forums.phpfreaks.com/topic/124269-solved-transparent-image-with-drop-shadows/#findComment-641763 Share on other sites More sharing options...
CroNiX Posted September 15, 2008 Share Posted September 15, 2008 There are javascript solutions for this. They check the browser/version and if its an unsupported version of png w/alpha (like IE6) then it fixes them for that image. Search for 'PNGFIX'. Quote Link to comment https://forums.phpfreaks.com/topic/124269-solved-transparent-image-with-drop-shadows/#findComment-641947 Share on other sites More sharing options...
centerwork Posted September 15, 2008 Author Share Posted September 15, 2008 Thanks. That give me a good place to start. Quote Link to comment https://forums.phpfreaks.com/topic/124269-solved-transparent-image-with-drop-shadows/#findComment-642252 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.