incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx (JIRA)" <>
Subject [jira] Commented: (JSPWIKI-111) TableOfContents Plugin does not clear
Date Tue, 01 Jan 2008 11:24:43 GMT


Dirk Frederickx commented on JSPWIKI-111:

This is indeed by design. (introduced rather late in v2.5.xx)

TOC's are floated left, and only clear left-positioned blocks. (css:  float:left; clear:left;

This is done to allow them to be aligned next to %%commentbox's, which are floated right.
 (check out  to see the effect)

If you don't want text to float next to the TOC, insert a forced line-break (\\) which has
a 'clear:both'  css style.

Typically, a TableOfContents would be followed by a header line (!, !! or !!!) which would
automatically clear the line.

> TableOfContents Plugin does not clear
> -------------------------------------
>                 Key: JSPWIKI-111
>                 URL:
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.6.0
>            Reporter: Christoph Sauer
>            Assignee: Dirk Frederickx
>            Priority: Minor
> If you use text directly after the TableOfContents plugin, that is not a heading, this
text will be displayed right beside the TOC instead below. Seems like a css clear is missing?
(don't want to touch the css though)
> <<TableOfContents>>
> This text is displayed wrong (right beside the TOC)
> == Heading 1

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message