Hi,
I am new to this FCK Edtior and need help creating a template. I Using a simple template to allow user to upload a image and have text float around it.
Template:
<div style="clear: left; float: left; margin-bottom: 10px; padding: 0 10px 0 10px">
<img style="display: inline; margin: 0 10px 10px 0; padding: 0; float: left;" height="100" alt="" width="100" />
Click here to replace this text with the text that you wish to display.
</div>
This works fine when the user uploads gifs or jpegs but when a flash file is uploaded, the img element is replace with embed but the style allowing it to float is removed.
Anyone know how I can deal with this?
Thx
I am new to this FCK Edtior and need help creating a template. I Using a simple template to allow user to upload a image and have text float around it.
Template:
<div style="clear: left; float: left; margin-bottom: 10px; padding: 0 10px 0 10px">
<img style="display: inline; margin: 0 10px 10px 0; padding: 0; float: left;" height="100" alt="" width="100" />
Click here to replace this text with the text that you wish to display.
</div>
This works fine when the user uploads gifs or jpegs but when a flash file is uploaded, the img element is replace with embed but the style allowing it to float is removed.
Anyone know how I can deal with this?
Thx
RE: uploading flash into img removes float
Put a class on the outer div and then setup whatever you want in your stylesheet. That way you will be able to adress img and embed and your code will be cleaner