Forums / Setup & design / Online Editor;padding around image
Ron Schöningh
Wednesday 20 September 2006 7:57:35 am
Hi,
I want to have some space around images embed in text using the online editor. In editor-classes.css I added the following:
.imageSpace { padding-right: 20px; }
And in content.ini.append I added:
[object] AvailableClasses[]=imageSpace
This results in the following code in the web page:
<div class="object-left imageSpace"><div class="content-view-embeddedmedia"> <div class="class-image"> <div class="attribute-image"> <p> <img src="/var/mws/storage/images/media/images/ez_publish_product_image_new_medium/568-1-eng-GB/ez_publish_product_image_new_medium.gif" width="150" height="91" style="border: 0px;" alt="" title="" /> </p> </div> </div> </div>
Can anybody tell me what's going wrong?
Thanks,Ron
Wednesday 20 September 2006 8:06:51 am
SOrry,
I solved it by adding the style definition in the stylesheet for the site design.
Ron
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs