I made a background using Photoshop and saved it as a PNG file (which is supposed to make it transparent. Everything works fine in Firefox, but when I try using it in Safari and IE8, different issues occur with each browser. In Safari and IE8, the scrollbar goes behind my image (the text background) that I have. The other issue is in IE8, it also doesn't show the transparency that it does in the other two browsers. Let me know what's going on please... I appreciate it!
Here's the HTML that I have:
Here's the CSS that I have:HTML Code:<img src="images/textbackground.png" id="textbg" class="displayed"></img> <div id="content" class="displayed"> <p>blah</p> </div>
If you need anything else to help provide you an idea of what I want, please let me know. Thank you very much!Code:#textbg { width: 850px; height: 375px; z-index: 3; /*margin-left: auto; margin-right: auto; display: block;*/ margin-bottom: -340px; } .displayed { display: block; margin-left: auto; margin-right: auto; } #content { height: 275px; width: 550px; margin-left: auto; margin-right: auto; border: none; overflow: auto; z-index: 8; }



Reply With Quote
Bookmarks