Help - Search - Members - Calendar
Full Version: Band Myspace Help
Forums > Resource Center > Support Center > MySpace Support > Myspace Resolved Topics
Calebdvdsn
Ok, so on this myspace i'm working on for a buddy of mine, whenever i post a show it moves the header down for some reason, is there a way to lock the header?

CODE
<style>body table { margin-top: 260px;_margin-top: 258px; color: 000000; }
body td table, body div table { margin-top: 0;  _margin-top:0; color: 000000; z-index:9;}</style>

<style>
.masthead {position:absolute; margin-top:-1820px; margin-left:-413px; left:50%; width:XXXpx; height:XXXpx; z-index:2;}
</style>

<div class="masthead">
<img src="http://i36.tinypic.com/2hxapv8.jpg" />
</div>
<style>


Thats the code for the header.
ZeT0
If the master head is at the top shouldn't the margin-top: be 0px?
Also, set the width and height. ( width:XXXpx; height:XXXpx; )
And unless you have rollovers, best to set it on z-index:1;
I could be wrong though. ;)
Calebdvdsn
it didnt do anything other than it moved it down alot...
Mickey
It's most likely this bit that's creating issues:

CODE
<style>body table { margin-top: 260px;_margin-top: 258px; color: 000000; }
body td table, body div table { margin-top: 0;  _margin-top:0; color: 000000; z-index:9;}</style>

I'm guessing you're using a table to put up the header, and it's probably being pushed down everytime you post a new show because of the first line. Anyway, TJ's code should help. Just remember to edit it according to your header.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.