Page 1 of 1

Problems with the new HTML layout

Posted: Sat Apr 12, 2008 1:38 pm
by dirkt
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

Re: Problems with the new HTML layout

Posted: Sat Apr 12, 2008 7:18 pm
by euler
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"?

Re: Problems with the new HTML layout

Posted: Mon Apr 21, 2008 12:50 pm
by dirkt
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?