[pmwiki-users] Empty <p> when using %defiine%. Why?
marc
gmane at auxbuss.com
Wed Jun 7 13:21:50 CDT 2006
Hi,
When a page starts with a %define% you get:
<!--PageText-->
<div id='wikitext'>
<p>
</p>
This causes a problem - misalignment of subsequent horizontal floats,
which have the effect of <p> applied - if the page starts with a
floating <div>.
To fix this, I've tried adding a blank line - as the first line of the
page - however, the blank line introduces a <div class='vspace'>, thus
any local CSS applied to .vspace and the p element are in effect before
the text starts.
I tried "tricking" PW by hard-coding the first style block, then placing
the %define% later in the page, but the empty <p> is stil created, which
throws of the floats.
I guess there must be a reason for this <p> being there, but I can't
find what that reason might be.
Could anyone shed some light on this, please?
In addition, is there an easy way to remove it?
Thanks.
--
Best,
Marc
More information about the pmwiki-users
mailing list