View Full Version : Need some help positioning an <OBJECT>

07-10-2011, 07:16 AM

Hey I'm trying to position this youtube player using the following HTML:

<div class="player">
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/p/202D1F110E350E3C?version=3&hl=en_US&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/p/202D1F110E350E3C?version=3&hl=en_US&fs=1" type="application/x-shockwave-flash" width="480" height="385" allowscriptaccess="always" allowfullscreen="true"></embed></object>

And my CSS is:

.player {margin: 10px;}

No matter what I crank that margin up to the player window never moves even though it's wrapped in div. Don't believe I've ever positioned a player before so this is a new one on me!

Thanks for the help!

07-10-2011, 07:15 PM
I solved it myself, never mind!:rolleyes: