CSS/Objects - Moving items, Moving one and not the other |
CSS/Objects - Moving items, Moving one and not the other |
Apr 2 2007, 02:19 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Apr 2007 Member No: 514,062 |
hey i'm using "The Fall of Troy" Div Layout by superednerd it's great but i have a problem with it
if you leave it alone the music player is right over the picture, so i moved it to the top left corner. here is the code i'm using to move the music player CODE <style type="text/css"> object { position: absolute; visibility: visible; left: 0px; top: 0px; } </style> i have a youtube video in my profile and here is the code for it CODE <center> <object type="application/x-shockwave-flash" data="http://www.youtube.com/v/sHzdsFiBbFc" height="210" width="250"> <param name="movie" value="http://www.youtube.com/v/sHzdsFiBbFc" /> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="internal" /> </object> if i take out the code to move the music player, the video is perfectly fine. but when i use that code, it moves both objects. so now the video is in the top left of it's div, and it sits over my text. how can i move the music player without moving the video? |
|
|
|
![]() |
Apr 2 2007, 07:41 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
You can also put the video its in own div and position it around.
Edit// We posted at the same time. Understand that when you make the myspace music player smaller you automatically get a white background. Nothing you can do about that. When you move it, it might also move the video. |
|
|
|
Apr 2 2007, 08:21 PM
Post
#3
|
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Apr 2007 Member No: 514,062 |
You can also put the video its in own div and position it around. Edit// We posted at the same time. Understand that when you make the myspace music player smaller you automatically get a white background. Nothing you can do about that. When you move it, it might also move the video. i don't care about the myspace music player's size, just it's positioning. i'm still having trouble understanding what does what, which is why i messed around with the width/height in each line of the first code he provided. when the music player was just simply not there, there was no white background. so it's like, either the music player stays the same size or goes away, otherwise it will have a white background? even if you move it? i never said anything about the music player's white background but i guess i should have. my original comment on the white background was around the video, not the music player sorry i'm still not fully understanding and thus my statements are probably making no sense either. it might help if you visit the preview page for my layout. under the drummer there is two sections, "about me" and "who id like to me." i put the video in "who id like to me." they are both contained in <div class=aboutme></div> |
|
|
|
Username Taken CSS/Objects - Moving items Apr 2 2007, 02:19 PM
IVIike did you try this script?
http://www.createblog.c... Apr 2 2007, 05:01 PM
Username Taken QUOTE(IVIike @ Apr 2 2007, 3:01 PM) did y... Apr 2 2007, 07:40 PM
toyo loco If the music player there is the one you are tryin... Apr 2 2007, 09:24 PM
Username Taken No I'm talking about the MySpace music player.... Apr 2 2007, 10:12 PM
Username Taken So is it possible or no?
Crap, now my page isn... Apr 5 2007, 10:11 PM
toyo loco Comment boxes no longer work, because of how myspa... Apr 5 2007, 10:25 PM
Username Taken Alright, this is the code im talking about:
CODE... Apr 5 2007, 10:53 PM
toyo loco Try using this to move the player instead. Apr 5 2007, 11:06 PM
Username Taken Thanks! Fixed now =] Apr 5 2007, 11:11 PM![]() ![]() |