3 ms·
You can put white-space: pre-wrap; in the css for the pre tag. You can also add overflow: auto; instead of hidden, but you'll need to add width tags going all
by ars 18y ago
You can put white-space: pre-wrap; in the css for the pre tag.
You can also add overflow: auto; instead of hidden, but you'll need to add width tags going all the way up to the width="85%".
Note: I tried mucking with the HTML and adding the widths, but can't quite get it to work. But overflow does not work without a defined width, and width does not work unless the parent has a width.
You might need to add:
html, body { width: 100%; }
Relative widths with overflow are annoying to get right.