[pmwiki-users] Customizing the look for PageTableOfContents
Robert Riebisch
rr at bttr-software.de
Wed Sep 21 02:37:26 CDT 2005
John Rankin wrote:
> 2. So, to get what you want, try the following:
>
> $TocSize = '10px';
> $HTMLStylesFmt['tocborder'] = "
> div.toc {
> width: 33%;
> border: 1px solid #cccccc;
> padding: 4px;
> background: #f7f7f7;
> }";
> include the script
Done and looks nice to me: http://wiki.bttr-software.de/Links/Links
> Now, with $TocFloat still false, the script will set
> $HTMLStylesFmt['tocf'] = "
> div.toc { font-size: 10px; margin-bottom: 10px; }";
OK, I made it 12px now.
> (A counsel of perfection would be to use the golden section rather
> than 33% -- roughly 38.2%)
Done. Thanks a lot! :-)
Robert Riebisch
--
BTTR Software
http://www.bttr-software.de/
More information about the pmwiki-users
mailing list