Log In · Register

 
 
Closed TopicStart new topic
Help positioning background image
8trackpromo
post Aug 25 2009, 08:52 PM
Post #1


Member
**

Group: Member
Posts: 18
Joined: Sep 2007
Member No: 572,962



I need a code to place a background image in a layout where i can place it anywhere for my music page. I am trying to place and image around the music player, but it hides the player, it wont if its a background image i think? Any help would be GREAT!
 
lucasnotreally
post Aug 25 2009, 11:30 PM
Post #2


Creative Developer
****

Group: Member
Posts: 116
Joined: Jan 2009
Member No: 712,281



you will to make a div for that image, and position the music player over top of it.

here is the code to position the image you want behind the player:

CODE
<style>
.playerbg {position:absolute; top:###px; margin-left:-###px; left:50%; width:###px; height:###px; background-color:000000; z-index:1;}
</style>


CODE
<div class="playerbg">
<img src="PLAYER BACKGROUND IMAGE URL">
</div>





here is the code to move the player on top, just position it to where you want it.

CODE
<style>.a {position artist/band player}
td.text object {position:absolute; top:###px; left:50%; margin-left:-###px; z-index:9;}
td.text td td object {position:static; margin-left:0px;}
td.text div object object {position:static; margin-left:0px;}</style>


Let me know if you have problems
 
lucasnotreally
post Aug 26 2009, 08:32 AM
Post #3


Creative Developer
****

Group: Member
Posts: 116
Joined: Jan 2009
Member No: 712,281



also, the code i posted is for the band player, i didnt know you wanted it for the standard myspace player.

 

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