PDA

View Full Version : My Banner Doesn't Show in Myspace



antiochkid
Oct 17th, 2008, 11:27 PM
I am setting up a site for a musician friend and came across code that I thought would work for me. The masthead spacing worked but something appears to be wrong with the code for the div overlay. Will someone please tell me where I went wrong? I placed the following ahead of the bio content:

<div class="masthead"><span></span><div>
<style type="text/css">table table
{
margin-top:120px;
}
div table table, table table table
{
margin-top:0;
}

<style>
.masthead
{
width: 567px;
height: 102px;
position absolute;
margin-left: 140px;
left: 12%;
top: 200px;
background-image: URL(http://img75.imageshack.us/img75/7209/hillofstonebannercopymr5.th.jpg);

</style>

Could the problem have something to do with the code that follows the bio, wherein I define the background for the page? The only programming I know is what little I've learned along the way. The myspace url is www.myspace.com/laundonvonkendricks.com

Thank you for your help!

itsallkizza
Oct 17th, 2008, 11:31 PM
try adding a closing bracket to your .masthead

antiochkid
Oct 17th, 2008, 11:46 PM
Thank you for that catch, I hadn't see it for 2 days. It didn't seem to make a difference though. Any other thoughts?

antiochkid
Oct 18th, 2008, 09:50 PM
I resolved the problem. Mine was a series of omissions. If you have a similar problem, this script works. I just need to tweak the position a little.

<div class="masthead"><span></span</div>

<style type="text/css">table table {margin-top:120px;}
div table table, table table table {margin-top:0;}
</style>

<style>
.masthead {width: 567px; height: 102px; position: absolute; margin-left: 140px; left: 12%; top: 200px; background-image: url(http://i371.photobucket.com/albums/oo153/rubbaheadmusic/HillOfStoneBannercopy.jpg);}
</style>