[pmwiki-users] Question regarding indent (-->)

Patrick R. Michaud pmichaud at pobox.com
Wed Apr 27 13:00:44 CDT 2005

On Wed, Apr 27, 2005 at 10:16:55AM -0700, Menachem Shapiro wrote:
> B"H
> I have a question regarding the indent markup (-->). I am using it on this page:
> http://otterprojectonline.info/pmwiki/FirstLines/BostonBlackie
> I am using pmwiki-2.0.beta21.
> The problem I am having is that in between the last line that has the
> indent and the line that starts '%BLUE%First Line', there is an extra
> blank vertical space. This happens even if I remove the %BLUE%
> (incidentally, the %BLUE% is just a markup for '%block color=blue%').
> There is no blank vertical space between the two Indent lines.

It doesn't happen in standard PmWiki, see 
http://www.pmwiki.org/wiki/Test/IndentParas .  

I think the problem is in your custom stylesheet at 
http://otterprojectonline.info/pmwiki/pub/css/markup.css ,
which says:

        dd { margin-bottom: 0.5em }

PmWiki uses <dl><dd>...</dd></dl> to generate "anonymous indents" 
(i.e., places where one jumps more than one level of nested item),
so that CSS rule is adding 0.5em of space after the --> lines.


More information about the pmwiki-users mailing list