TOC no scrolling please

"Martin Cuno" <[email protected]> Mon, 19 Jan 2026 10:00:25 +0000
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <[email protected]>
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 t=
oo long, it gets cut off at the bottom. How can I prevent this? In the brow=
ser view, a scrollbar appears if the TOC is too long. Following the instruc=
tions 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 =3D 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=FCft.
www.avast.com