[pmwiki-users] Preformatted text / wiki style

Petko Yotov 5ko at free.fr
Thu Jul 26 02:21:21 CDT 2007


On Thursday 26 July 2007, pmwiki at 911networks.com wrote:
> I have the horizontal scroll working properly, but is there a way
> of doing a wiki style, so that can control the vertical scroll?
>
> I do NOT want something general because most of the times I don't
> want vertical scrolls. There are a few occasions when I don't
> want to display 500 lines so I would like to display the first 10
> or 15 lines, then people could scroll it to see the rest.

You can use something like:

  (:div style="height:400px; overflow: auto;":)
   [@
    Your code
   @]
  (:divend:)

There is an example of this code at 
  http://pmwiki.org/wiki/Cookbook/ThumbList#relnotes

Thanks,
Petko




More information about the pmwiki-users mailing list