Log In · Register

 
 
Closed TopicStart new topic
Band Myspace Help, Need help
Calebdvdsn
post Oct 5 2009, 12:21 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Oct 2009
Member No: 748,130



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
post Oct 5 2009, 12:30 PM
Post #2


Senior Member
****

Group: Member
Posts: 253
Joined: Jul 2009
Member No: 739,898



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
post Oct 5 2009, 01:33 PM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Oct 2009
Member No: 748,130



it didnt do anything other than it moved it down alot...
 
Mickey
post Oct 6 2009, 01:50 PM
Post #4


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



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.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: