PDA

View Full Version : Flash Player Float Margin Issue



JonEdanger
Jan 26th, 2010, 08:56 PM
I'm having trouble with the right margin next to a flash player on http://smartalk.us It displays properly in Safari, but not FF or IE. Thanks in advance, J.
<object type="application/x-shockwave-flash" data="http://66.135.33.137/apps/fcb0bwjditi5qn5erdiy/player_20091110202138/player.swf" width="320" height="265" float: right;>
<param name="movie" value="http://66.135.33.137/apps/fcb0bwjditi5qn5erdiy/player_20091110202138/player.swf"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowScriptAccess" value="always"></param>
<param name="flashvars" value="bufferlength=0.1&streamer=rtmp://2tqgvibn0wqp.rtmphost.com/welcome&file=chris_welcome.mp4&image=images/welcome_splash_black.jpg"></param>
</object>

*edited to add: The page displays properly in Chrome as well.

abduraooft
Jan 27th, 2010, 05:37 AM
Start with fixing the errors in your markup, see http://validator.w3.org/check?uri=http://smartalk.us/

JonEdanger
Jan 27th, 2010, 03:28 PM
I realize that the template we used is riddled with errors. I should have prefaced my post with the fact that I am a project manager not a coder. I'm just trying to get one element to display properly on one page. Sorry for the confusion.

_Aerospace_Eng_
Jan 27th, 2010, 04:44 PM
Well even then you still aren't coding it properly yourself. This is wrong

float: right;
It should be

style="float:right;"
Add any margin with the style attribute or create some CSS for the object.