MYSPACE New Standalone plater Help, Need help with the CSS in moving the new Myspace Standalone player |
![]() ![]() |
MYSPACE New Standalone plater Help, Need help with the CSS in moving the new Myspace Standalone player |
Sep 25 2008, 01:01 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Validating Posts: 12 Joined: Jun 2007 Member No: 538,276 |
I just realized that myspace has changed their standalone player for their music profiles. The code I was using to move it isn't working anymore
CODE <style>.a {position 4 song band player} td.text object {position:absolute; top:1597px; _top:1597px; left:440px; _left:564px; z-index: 3; } td.text td td object {position:static; margin-left:0px;}</style> I've tried replaceing the ID name with "profile_mp3Player" but that doesn't work either. i'm not that all great with CSS so i'm trying to figure this out. Can anyone help me? |
|
|
|
Sep 25 2008, 04:47 PM
Post
#2
|
|
|
Member ![]() ![]() Group: Validating Posts: 12 Joined: Jun 2007 Member No: 538,276 |
sorry, since it dealt with CSS I figured it would be best in the CSS help area.
|
|
|
|
Sep 25 2008, 04:48 PM
Post
#3
|
|
![]() poison ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,806 Joined: Mar 2008 Member No: 629,020 |
hmm. Maybe they did something to where it cancels out the code.
|
|
|
|
Sep 25 2008, 08:20 PM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
usually you need to use "embed" as well as "object" for myspace. just add in a td.text embed to the first part of your code, and a td.text td td embed to the second part.
|
|
|
|
Sep 26 2008, 12:33 AM
Post
#5
|
|
|
Member ![]() ![]() Group: Validating Posts: 12 Joined: Jun 2007 Member No: 538,276 |
usually you need to use "embed" as well as "object" for myspace. just add in a td.text embed to the first part of your code, and a td.text td td embed to the second part. Like this? CODE .a {position 4 song band player} td.text embed td.text object {position:absolute; top:1597px; _top:1597px; left:440px; _left:564px; z-index: 3; } td.text td td embed td.text td td object {position:static; margin-left:0px;} I'll try it out and see if it works. UPDATE:nope...didn't change a thing It's okay. I'm looking into it, I'll get back to you soon. thanks. i've looked at other designers music pages and it seems to have effected everyone who has a div overlay on their music profiles.
Reason for edit: please don't double post. the edit button is there for a reason ;) -nat
|
|
|
|
Sep 26 2008, 01:14 AM
Post
#6
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
^ you need to add a comma between the two codes:
CODE td.text embed, td.text object { yadda yadda }
td.text td td embed, td.text td td object { yadda yadda } |
|
|
|
Sep 27 2008, 11:00 AM
Post
#7
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
So your code should look something like this:
CODE .a {position 4 song band player} td.text embed, td.text object {position:absolute; top:1597px; _top:1597px; left:440px; _left:564px; z-index: 3; } td.text td td embed, td.text td td object {position:static; margin-left:0px;} If that doesn't work, try out this code that I wrote. |
|
|
|
Sep 28 2008, 01:49 PM
Post
#8
|
|
|
Member ![]() ![]() Group: Validating Posts: 12 Joined: Jun 2007 Member No: 538,276 |
I tried that and it still didn't work. The closest thing I got was this code I got from another topic
CODE <style type="text/css"> object { position:absolute; margin-top: 1597px; margin-left: 440px; _margin-top: 1597px; _margin-left: 564px; z-index: 9;} </style> this moves the standalone player nicely (i have to adjust the placement a little though) but since its just using the object tag, it effects other object tags on the page as well. there are 2 other flash objects on the page (a slide and survey) and it effects them as well. is there a way to adjust the code to only effect the standalone player? If you need to look at what i mean here is the sample myspace i'm testing it on. http://profile.myspace.com/index.cfm?fusea...endID=201153155 i have the code you suggested in there and as you can see where it says music player, thats where its supposed to be. Thanks for all the help too...i really do appreciate it. |
|
|
|
Sep 28 2008, 04:47 PM
Post
#9
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
i think it's turning out to be the same as a regular profile. for some reason, it's using both embed and object tags, but won't recognize both when you move them, so you can only move the object tag (since IE doesn't know what embedded flash is).
for the other flash objects, are they things you added in yourself? you should be able to do it like this: CODE object { position:absolute; top:0; left:50%; margin-top:##px; margin-left:##px; } td td td object { position:static; margin:auto; } just like in regular profiles, table cells with flash nested within two other table cells (and everything past that) won't move at all. |
|
|
|
Sep 29 2008, 11:58 AM
Post
#10
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Try this code out:
CODE <style> object {position:absolute; top:1597px; _top:1597px; left:440px; _left:564px; z-index: 3;} td td td object {position:static; margin:auto;} </style> Tell me what happens. |
|
|
|
![]() ![]() |