4 ms·pre{ display: block; width: 95%; overflow: scroll; } works for meby noodle 18y agopre{ display: block; width: 95%; overflow: scroll; } works for meJem 18y agodisplay: block; isn't needed, pre is a block level element :)noodle 18y agowhat can i say, it wasn't working quite right for me without it.RossM 18y agoThe pre might have had its styles reset, and then been placed inside a block-level element that hadn't been reset.