We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16654
    • 23 Posts
    Hi,

    Not sure if this is simple...
    How can I get ditto output to display in a scrollbar area?
    (I’m using MODx 1.0.0).

    Thanks
      • 22840
      • 1,572 Posts
      Wrapp the entire thing in a div and in the css give it overflow auto.

      For example:
      <div class="scroll">
      Your ditto call
      </div>
      

      And then in the css:

      .scroll {
      height: 200px;
      overflow: auto;
      }
      

      That will limit the height to 200px and if it exceeds that it will create the scroll bar.
        • 16654
        • 23 Posts
        Scrollbar working. Thanks!