text align, swf file.

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
hagar
Forum Members
Forum Members
Posts: 18
Joined: Thu Dec 23, 2010 5:08 am

text align, swf file.

Post by hagar »

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
spike
Forum Members
Forum Members
Posts: 153
Joined: Thu Sep 25, 2008 5:02 pm

Re: text align, swf file.

Post by spike »

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>
hagar
Forum Members
Forum Members
Posts: 18
Joined: Thu Dec 23, 2010 5:08 am

Re: text align, swf file.

Post by hagar »

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
Post Reply

Return to “Layout and Design (CSS & HTML)”