[pmwiki-users] TOC no scrolling please
Martin Cuno
martin.cuno at posteo.de
Mon Jan 19 02:00:25 PST 2026
Hello friends,
I'm experimenting with Table of Contents (TOC), https://www.pmwiki.org/wiki/PmWiki/TableOfContents:
My problem: I need to print PDFs of pages containing a TOC. If the TOC is too long, it gets cut off at the bottom. How can I prevent this? In the browser view, a scrollbar appears if the TOC is too long. Following the instructions on the linked page, I'm experimenting with:
PmTOCdiv {font-size: 90%; max-height: 2000px; overflow: hidden; @LH12}
etc. in local.css, but without success.
(@LH12 = line height; this is my workaround, but it's not satisfactory)
What can I do? Why doesn't "overflow: hidden" work?
And: could a simple option be added to prevent scrolling when needed?
Thanks! Martin
--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com
More information about the pmwiki-users
mailing list