We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Support
Search
ditto with scrollbar
23 Posts
lar442
Reply #1,
16 years, 7 months ago
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
1,572 Posts
Paulp
Reply #2,
16 years, 7 months ago
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.
23 Posts
lar442
Reply #3,
16 years, 7 months ago
Scrollbar working. Thanks!