[pmwiki-users] Customizing the look for PageTableOfContents

Patrick R. Michaud pmichaud at pobox.com
Tue Sep 20 19:41:56 CDT 2005


On Wed, Sep 21, 2005 at 12:08:26PM +1200, John Rankin wrote:
> On Wednesday, 21 September 2005 11:27 AM, Chris Cox <ccox at airmail.net> wrote:
> >Robert Riebisch wrote:
> >> I'd like to put a thin border and background around the TOC. Similar to
> >> "Notes and Comments" at
> >> http://www.pmwiki.org/wiki/Cookbook/OneGroupForAll or
> >> http://en.wikipedia.org/wiki/Wiki
> >
> >I use this:
> >
> >(:table width=100% cellspacing=0 border=1 bgcolor=#eeeeee bordercolor=#888888:)
> >(:cell:)
> >(:toc Cyclades Terminal Servers Contents:)
> >(:tableend:)
> >
> I am thinking from this thread that (:toc:) ought to put
> its output into a box (so it can't escape).
> ...
> - using tables for presentation can cause problems for those 
>   who rely on screen readers to interpret page contents

Another option is to not use a table for this -- use a div:

    >>border='1px solid #888888' bgcolor=#eeeeee<<
    (:toc:)
    >><<

Or even something like...

    >>rframe width=300px<<
    (:toc:)
    >><<

Pm




More information about the pmwiki-users mailing list