[pmwiki-users] floats and vspace

Hans design5 at softflow.co.uk
Fri Mar 25 07:58:12 CDT 2011


I've got a problem with  spacing.

wiki source is this:

PARAGRAPH BEFORE FLOATS

%lfloat%ABC
%lfloat%DEF
%lfloat%GHI

%lfloat%KLM
%lfloat%NOP
%lfloat%QRS

PARAGRAPH AFTER FLOATS

HTML output is this:

<p class='vspace'>PARAGRAPH BEFORE FLOATS
</p>
<p class='vspace'><span class='lfloat'>ABC</span>
<span class='lfloat'>DEF</span>
<span class='lfloat'>GHI</span>
</p>
<p class='vspace'><span class='lfloat'>KLM</span>
<span class='lfloat'>NOP</span>
<span class='lfloat'>QRS</span>
</p>
<p class='vspace'>PARAGRAPH AFTER FLOATS
</p>

and page display is this:

PARAGRAPH BEFORE FLOATS

ABC DEF GHI KLM NOP QRS PARAGRAPH AFTER FLOATS


but I'd like display like this:

PARAGRAPH BEFORE FLOATS

ABC DEF GHI

KLM NOP QRS

PARAGRAPH AFTER FLOATS

i.e. with the empty lines in the source creating <p class=vspace>
the display should show vertical spacing. It should not be obliterate
by <span class=lfloat>

How can I achieve that? Perhaps with css?

thanks,
  ~Hans   




More information about the pmwiki-users mailing list