Hello, I am trying to align a swf file to the right of a block of text, but i cant get it to work. It works in the edit content window, but on the webpage the swf file is always on the left and not aligned to the text after being submited. Any ideas? I am using the media plugin to insert the flash. Text align works ok when inserting images. I have posted at the tinymce forum with no responses.
..........Thanks.........Matt
http://www.matthewharkins.com/index.php ... stimonials
CMS Made Simple 1.9.4.1
text align, swf file.
Re: text align, swf file.
You could add style="float: right;" to the object tag:
<object data="uploads/images/thundertechsmall.swf" type="application/x-shockwave-flash" height="200" width="300" style="float: right;">
or you could
Wrap the object in a div and float it right, you may want to add some left margin to push the text away from the pic. Using a div is good when you want to add text under the pics etc. - gruss - spike
<div style="float: right">
<object data="uploads/images/thundertechsmall.swf" type="application/x-shockwave-flash" height="200" width="300">
<param name="quality" value="high">
<param name="scale" value="noborder">
<param name="salign" value="r">
<param name="wmode" value="window">
<param name="id" value="aa">
<param name="name" value="ss">
<param name="src" value="uploads/images/thundertechsmall.swf">
<param name="align" value="right">
<param name="vspace" value="2">
<param name="hspace" value="2">
</object></div>
<object data="uploads/images/thundertechsmall.swf" type="application/x-shockwave-flash" height="200" width="300" style="float: right;">
or you could
Wrap the object in a div and float it right, you may want to add some left margin to push the text away from the pic. Using a div is good when you want to add text under the pics etc. - gruss - spike
<div style="float: right">
<object data="uploads/images/thundertechsmall.swf" type="application/x-shockwave-flash" height="200" width="300">
<param name="quality" value="high">
<param name="scale" value="noborder">
<param name="salign" value="r">
<param name="wmode" value="window">
<param name="id" value="aa">
<param name="name" value="ss">
<param name="src" value="uploads/images/thundertechsmall.swf">
<param name="align" value="right">
<param name="vspace" value="2">
<param name="hspace" value="2">
</object></div>
Re: text align, swf file.
Thanks, but still cant get it to work. It needs to be able to be done by people who have basic skills who edit in the content area, eg: insert media , align left or right. The media plugin has the settings to do this but when I submit the changes it seems to loose them..........Thanks.............Matt