Rosetta Code:Village Pump/Foldable output: Difference between revisions

Content added Content deleted
(Working solutions with scrollbars)
m (removed unnecessary width attribute)
Line 15: Line 15:


:: A good idea. The following works:
:: A good idea. The following works:
:: <nowiki><pre style="height:30ex;width:98%;overflow:scroll"></nowiki>
:: <nowiki><pre style="height:30ex;overflow:scroll"></nowiki>
:: Example:
:: Example:
<pre style="height:30ex;width:98%;overflow:scroll">
<pre style="height:30ex;overflow:scroll">
Test
Test
Another line
Another line