Wiki <pre> overflow issue
#1
Hi guys, I'm new to the forum and I'm not entirely sure I'm in the right place, but I've done a fair bit of Googling and I've not been able to figure out where to post, so I figured I'd have a go here. This is my first post, so please be gentle..

So the issue is that on certain pages which have code on them formatted within the a HTML pre element, (here, for example) since the lines do not wrap, if the line is too long the text overflows and adds a scroll bar to the whole page and is generally ugly.

I'm wondering what could be done to change the CSS styling to add the following declaration to the pre rule.

Code:
overflow: auto;

This probably seems trivial, but I'm just learning a bit of web dev and could help but want to fix it. Smile

Browser info: Firefox 51.0.1 on Linux
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Wiki <pre> overflow issue00