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! 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. 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. 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 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. 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. 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
Archived
This topic is now archived and is closed to further replies.