Hi Anders, Take a look at Presentations.ContainerStart and ContainerEnd. This would allow you to put the image inside a <div> with a declared class (output like <div class="image-margin">). And then use a setting for the margin for that class in a css and declare the css in the <OverrideStylesheet>. If you just have the settings for that class in that css file then all the other settings will be inherited normally.
Make sense? John Davidson On Thu, Mar 6, 2008 at 4:40 AM, Anders Jarl - anja <[EMAIL PROTECTED]> wrote: > Hi! > > > > We are thinking of making some documentation of some workflows in > FlexWiki. This includes showing pictures that is surrounded by text. I wrote > some "Library" functions for this, to make it easier for the users, and it > works fine. The one problem is that there is no margin around the > image/table which makes the text come to close to the image and it doesn't > look good. > > > > My first thought to fix this was to make an extra column on the right, for > a left-floating table, and an extra column on the left, for a right-floating > table that would have a width that simulates a margin. I can't however make > this to work. > > > > I've tried this: > > > > *||{T]T-W1}||@@Presentations.Image(federation.LinkMaker.LinkToImage > ("images/help.gif"))@@||* > > > > Which should make a right-floating table with two columns where I thought > that the left width would make a 1% (of table width) as a margin. > > This is the HTML output: > > > > *<table class="TableWithoutBorderClass" style=";margin-left: 0; float: > right">* > > *<tr>* > > *<td class="TableCellNoBorder" width="1%" ></td>* > > *<td class="TableCellNoBorder"><img src="/MyWiki/images/help.gif" > alt=""/></td>* > > *</tr>* > > *</table>* > > > > The HTML looks pretty much as I thought it would, but it doesn't show very > well on my IE7: > > > > > > As you can see the table takes up one third of the area in the picture. > It's a fixed size though so if I resize the window it will remain the same > size. And the intended margin that I wanted all ended up to the right?? > > > > Is there any way of "reaching" the margin on table (thinking of the > "margin-left" that is shown in the HTML) which I guess would solve my > problem? > > > > Is there someone else who has made a workaround for this? > > > > Regards > > Anders > > This email has been scanned by the DefenderSoft Email Threat Protection. > For more information please visit www.emailthreatcenter.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Flexwiki-users mailing list > Flexwiki-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flexwiki-users > >
<<image001.jpg>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users