Wiki <pre> overflow issue

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
NattyG93 Offline
Junior Member
Posts: 1
Joined: Nov 2016
Reputation: 0
Post: #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.

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
find quote