stephanne Posted January 21, 2009 Share Posted January 21, 2009 My header image is a transparent picture which I saved as png and it works and views fine but when I put it on my blog (http://www.fridayglamour.com/blog), it doesn't work. Does anyone know what I'm supposed to do in order to get the photo to transparent to the background? Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/141712-solved-help-with-transparent-header-image/ Share on other sites More sharing options...
Zane Posted January 21, 2009 Share Posted January 21, 2009 maybe the div that contains the png has a background color of its own is why it's not being transparent. Quote Link to comment https://forums.phpfreaks.com/topic/141712-solved-help-with-transparent-header-image/#findComment-741891 Share on other sites More sharing options...
stephanne Posted January 21, 2009 Author Share Posted January 21, 2009 maybe the div that contains the png has a background color of its own is why it's not being transparent. This is what I have: #header { background:transparent url('images/headerblank.png'); width: 900px; height: 334px; } and still it won't work. Quote Link to comment https://forums.phpfreaks.com/topic/141712-solved-help-with-transparent-header-image/#findComment-741907 Share on other sites More sharing options...
departedmind Posted January 21, 2009 Share Posted January 21, 2009 You have a container with White background and your header is overlapping the container. So, you see white bg Quote Link to comment https://forums.phpfreaks.com/topic/141712-solved-help-with-transparent-header-image/#findComment-741925 Share on other sites More sharing options...
stephanne Posted January 21, 2009 Author Share Posted January 21, 2009 You have a container with White background and your header is overlapping the container. So, you see white bg thank you so much!! that solved the problem. i moved the div tag for container after the div tag for header. Quote Link to comment https://forums.phpfreaks.com/topic/141712-solved-help-with-transparent-header-image/#findComment-741928 Share on other sites More sharing options...
Zane Posted January 21, 2009 Share Posted January 21, 2009 maybe the div that contains the png has a background color of its own is why it's not being transparent. Glad you got it sorted out. Quote Link to comment https://forums.phpfreaks.com/topic/141712-solved-help-with-transparent-header-image/#findComment-741930 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.