The new HTML layout uses a fixed width layout for its background with the rounded corners. That doesn't work too well for systems where the fonts (and their sizes) are different from those of the designers (as on my Linux box with Konqueror). Especially on the statistics page, the percentages appear on the edge of the background, which makes it difficult to read them.
When I remove the "width" entry in @media screen in the CSS, everything works fine again (I can resize the window as I want). I don't know what were the reasons for choosing a fixed width (after all, the @media print part hasn't one), but if it's not strictly necessary, I'd suggest removing it.
- Dirk
Problems with the new HTML layout
- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: Problems with the new HTML layout
Assuming I've understood you properly, I've had a go at fixing the Statistics page. Could you check it out?
Which other pages are "breaking"?
Which other pages are "breaking"?

impudens simia et macrologus profundus fabulae
-
dirkt
- Posts: 5
- Joined: Sat Apr 12, 2008 10:52 am
Re: Problems with the new HTML layout
The statistics page now works better in the sense that now for most font sizes, the problem doesn't appear, though I can still force it to appear by choosing a very large font. But it doesn't solve the fundamental problem, which is that I still cannot resize the light gray background "rectangle" with the rounded corners together with my browser window.
The same problem occurs on any forum page that has a wide code block: The code block then extends beyond the "background rectangle" into the dark grey area, and Konqueror will then also render the longer lines of the "normal" black text beyond the "background rectangle". Then I get black text on dark grey background, which makes it hard to read.
My fix (removing the "width" entry from style_main.css) also solves that problem. Are there any concrete reasons for sticking to a fixed width layout?
The same problem occurs on any forum page that has a wide code block: The code block then extends beyond the "background rectangle" into the dark grey area, and Konqueror will then also render the longer lines of the "normal" black text beyond the "background rectangle". Then I get black text on dark grey background, which makes it hard to read.
My fix (removing the "width" entry from style_main.css) also solves that problem. Are there any concrete reasons for sticking to a fixed width layout?