SwitchSkimFL
01-03-2010, 03:53 AM
Im coding a band's myspace and am having issues with the positioning of a top banner. Its absolutely positioned so it looks fine on a widescreen 1600x900 resolution, but its too far left on a standard 1024x768 resolution. ive tried a couple of different center tags and stuff but cant figure it out and nothing works. help please?
www.myspace.com/releasetherivermusic
this is the code im using
<style>
body{
background-position:top center;margin-top: 575;}
div.topbanner {
top: 0;
left: 50%;
margin-left: -792px;
width: 100%;
height: 600px;
position: absolute;
}
</style>
<div class="topbanner"><img src="http://i260.photobucket.com/albums/ii38/Overtonerocks/Bannertopv3Final1b.jpg" /></div>
thanks in advance
www.myspace.com/releasetherivermusic
this is the code im using
<style>
body{
background-position:top center;margin-top: 575;}
div.topbanner {
top: 0;
left: 50%;
margin-left: -792px;
width: 100%;
height: 600px;
position: absolute;
}
</style>
<div class="topbanner"><img src="http://i260.photobucket.com/albums/ii38/Overtonerocks/Bannertopv3Final1b.jpg" /></div>
thanks in advance