Log In · Register

 
GAH! i need help with my music player..., how to fit it in a div
nedkattus
post Feb 13 2007, 08:01 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Oct 2005
Member No: 257,516



ok well i really need help getting my music player into this div box that it's supposed to be in. for a while it was in there, but then i messed it up and it wont go back even afer i undid the changes i made to mess it up. help!

here's my profile, so you have an idea of what i'm trying to do exactly, and how it's screwed up.
 
 
Start new topic
Replies (1 - 6)
*WHIMSICAL 0NE*
post Feb 13 2007, 08:07 PM
Post #2





Guest






Since you're using the default myspace player, you can't actually place it in a div, but you can change the position of it on your page. Have you tried the codes in the Scripts section for moving the player?
CODE
<style type=text/css>
td td embed {width:0px; height:0px;}
td td embed, td td object {width:240px; height:49px;position:absolute;left:00px;top:00px;}
td.text embed, td.text object {width:320px; height:240px;}
td.text embed {width:320px; height:240px;}
td.text embed {width:auto; height:auto;}
td.text embed, td.text object {width:auto; height:auto;}</style>


Change the 00's to where you want it to be. It should work.

Taken from this script.
 
nedkattus
post Feb 13 2007, 08:25 PM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Oct 2005
Member No: 257,516



is there any way i could possibly shrink it or something? this is the original layout i got it from
 
Detective
post Feb 13 2007, 09:03 PM
Post #4


Senior Member
*******

Group: Official Member
Posts: 3,291
Joined: Feb 2007
Member No: 503,024



i could make you a xspf player if you want. something like this
 
*Intercourse.*
post Feb 13 2007, 09:06 PM
Post #5





Guest






I think her problem is solved? Its down sized and fits really nicely in the box she put it in. Nice song as well.
 
Detective
post Feb 13 2007, 09:08 PM
Post #6


Senior Member
*******

Group: Official Member
Posts: 3,291
Joined: Feb 2007
Member No: 503,024



not in IE
 
*Intercourse.*
post Feb 13 2007, 09:25 PM
Post #7





Guest






^okay, well I don't have IE. So there lies the problem... also I hope you know your link in your other posts is a link back to this topic pinch.gif

Anyway Nedkattus, if you would like to keep the original myspace player, resize it and postiion it in that box you can use this instead:
CODE
<style>td td object {position:absolute; left:0px; top:0px; display:block; width:0px; height:0px;}</style>

Change the top and left px to position it and change the width and height to the size you would like to have the player, pretty self explanatory I suppose.
 

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