[pmwiki-users] Customizing the look for PageTableOfContents

John Rankin john.rankin at affinity.co.nz
Sun Sep 18 16:39:27 CDT 2005


On Friday, 16 September 2005 10:45 PM, Robert Riebisch <rr at bttr-software.de> wrote:
>Hi!
>
>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 already tried with a table, but I can't get a thin border. :-( I'd
>prefer not to edit the default PmWiki skin files. ;-)

I'm assuming you are using the PageTableOfContents recipe.

Try adding the following line to your local/config.php file:

$HTMLStylesFmt['tocborder'] = "
.toc { border: 1px dotted; padding: 2px; background: #ffc; }";



-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list