[TYPO3-typo3org] Bug with .tx-terfe-pi1 pre (line 267)?

Erik Svendsen erik at linnearad.no
Sat Sep 16 14:43:43 CEST 2006

Hello Matthew,

Scrollbar at bottom shows as default in my browser (Firefox, Windows 
XP), same with Firefox and OpenSuse (also Epiphany does it correct). 
But in Konqueror the div gets expanded.

Overflow:auto; should give scrollbar at bottom if text are wider than the 
defined width of the div tag. If not, there are an error in the implementation 
of the CSS in the browser. The CSS at typo3.org are correct.

So I can't understand the reasons behind your problem.

Erik Svendsen

> Looking at the file view in the repository I get the code cropped
> because the css element is fixed width.
> http://typo3.org/extensions/repository/view/tt_news/2.4.0/info/class.e
> xt_update.php/
> This is only really noticeable when you increase the browser font size
> which I do a lot using CTRL+mousewheel
> The result is cropped source code.
> It looks like the css .tx-terfe-pi1 pre is bugging out although it is
> set to auto (line 267)? Browser FF (LINUX)
> Current:
> .tx-terfe-pi1 pre {
> margin: 1em 0;
> border: 1px solid #CADFC2;
> background-color: #f9f9f9;
> padding: 0.5em;
> overflow:auto;
> width: 99%;
> }
> Comment out the overflow and it lets the code break out of the box.
> Messy
> but works.
> /*overflow:auto;*/
> Set the overflow to scroll and at least the scroll bars show within
> the
> defined box width.
> /*overflow:scroll;*/
> So it seems that defining the overflow to scroll is the most
> consistent and allows the design of the page to remain intact and
> allows me to see the full width of long code lines.
> Who is responsible to make this change?
> Matthew

More information about the TYPO3-team-typo3org mailing list