shabby
04-23-2007, 04:12 AM
Hey!
I'm having a small problem, I'm designing the myspace page of a band and I want to use a png24 picture with transparent background. This does not work (as you know...) in IE6 and previous versions of it.
I know there are fixes, but they all involve javascript or some kind of external css-file? The problem on myspace is that you are quite limited in what you can do, as far as i'm concerned its only possible to use HTML and some css scripting. So my question is, is it possible to solve this problem using only a css script?
Thanks for your help!
/Joel
edit: this is what my code looks like now...
<style type="text/css">
body{ background-position:top center;margin-top: 505; }
div.topbanner {
top: 0;
left: 50%;
margin-left: -231px;
width: 100%;
height: 505px;
position: absolute;
}
</style>
<div class="topbanner"><IMG SRC="http://whatever.com/pic.png" border="0"></div>
I'm having a small problem, I'm designing the myspace page of a band and I want to use a png24 picture with transparent background. This does not work (as you know...) in IE6 and previous versions of it.
I know there are fixes, but they all involve javascript or some kind of external css-file? The problem on myspace is that you are quite limited in what you can do, as far as i'm concerned its only possible to use HTML and some css scripting. So my question is, is it possible to solve this problem using only a css script?
Thanks for your help!
/Joel
edit: this is what my code looks like now...
<style type="text/css">
body{ background-position:top center;margin-top: 505; }
div.topbanner {
top: 0;
left: 50%;
margin-left: -231px;
width: 100%;
height: 505px;
position: absolute;
}
</style>
<div class="topbanner"><IMG SRC="http://whatever.com/pic.png" border="0"></div>