In comp.lang.javascript message
Sun said:
Pretty much what I think every time I visit the current FAQ.
And it remains so.
That's implied by "is".
The different appearance, other than sections of
lists that were changed to ul and li elements, was achieved with small
modifications to the existing CSS.
The FAQ as seen, to all who have not overridden what it sets, is the
result of both the HTML and the CSS that are served from jibbering. The
history is unimportant, except where it shows that a change is a
mistake.
Don't blame Randy, it was my suggestion. My intention was to give the
FAQ a more contemporary appearance, one that does not look like it came
from 1995.
Randy is responsible for the FAQ, and that responsibility includes
accepting good ideas and rejecting bad ones.
The choice of sans-serif font is in keeping with the vast majority of
web sites.
One should do what is right, not just follow the fashion set by others.
If you don't like sans-serif fonts, by all means make your
position known but to claim specifying such in a CSS file is "bad
manners" is absurd. It is no more bad manners than the default setting
of browsers that "enforce" a serif font.
A browser MUST have a default font, if it is to work "out of the box". A
Web page and/or CSS file do not need to change that setting.
The claim that the suggestion of a sans-serif font in a CSS file is
contrary to legislation is news to me - please explain.
Enforcing a setting for ordinary text other than that preferred by the
user is contrary certainly to the spirit of disability discrimination
legislation. Granted the legislation may not actually apply - but
should one ignore the visually disabled just because the law applies
only to other sites or to other countries?
OK, so you vote against sans-serif fonts.
No: against overriding my settings.
Note that you are free to use whatever font you like through your
default CSS file, you also have the ability to set a minimum font size.
At many client sites, the individual users cannot personalise
preferences. They should not need to do so.
And I don't want to make a CSS file that will improve what I see for the
FAQ page and thereby alter what I see on my own pages or degrade what I
see on other pages - often, I have several pages from different sources
open at once, for reference.
I think only a very few users are surfing the web with a window set to
320px. Are you seriously suggesting the FAQ be optimised for that?
No. 640 px is half screen. The screen is 1280 * 1024 and my normal
window width is 640 wide * 85% high (just changed from 90%). Most sites
I view are satisfactory at that (especially commercial ones where that
width cuts off half of the advertising).
The "dirty pink" is a compromise. The original yellow is
uncomfortable, I was looking for something easier to look at. The
styles were tested on a number of computers, screens, browsers and
operating systems, the differences in appearance were dramatic - what
looks a gaudy puce on one screen is a bland maroon on another.
Please suggest alternative colours.
I was happy enough with the previous colours. ISTM that one should
avoid, for routine purposes, colours near the edge of the visual
spectrum - or at least putting together colours at opposite ends of the
spectrum. But the "dirty pink" was a description, not a condemnation.
4.37 has a longer line, your (apparently preferred) larger fonts will
exacerbate the situation.
I chose to refer to 4.26 because its longest line was just satisfactory
here; others are manifestly longer.
My font-size complaint referred to the proportional font. Even in the
FAQ as it is, I think I'd prefer code blocks to use a slightly narrower
(but not shorter) font.
Browser defaults IMHO should enable code lines of 72 characters and text
lines of about 12 words to occupy about the same width. For that, my
IE4 was fine; but in my IE6 it is necessary to use
pre { font-size: smaller }
It is a convention to indent blocks of
quoted or special text (such as code examples) and therefore it is
appropriate to do so in the FAQ.
Code examples are not indented in the FAQ, except by about 1 em at the
edge of the boxes and for structure; the code boxes more-or-less align
on the left with the ordinary paragraphs.
The overrun is a consequence of your
narrow window width; I think it is unreasonable to expect the FAQ to be
tailored to suit that at the expense of a more conventional layout.
But there is no need to have such wide body padding - and no need to
indent paragraphs more than minor headers more than major headers.
If I increase the window width, then (a) I can no longer see all of the
code that I'm working on & reading the FAQ for (my normal editor window
is about 620 px wide); and (b) because the text of the paragraphs is 90%
and the sans-serif font has narrow characters, there are too many words
on the line for comfortable reading.
Section 2.3 (plain text only) is now most readable with my window
reduced to 80% width, which reduces the text lines by a larger factor.
That changes characters/line by about as much as two Ctrl-Mousewheel
steps.
IMHO, the FAQ should be submitted to
news:comp.infosystems.
www.authoring.html and maybe
news:comp.infosystems.
www.authoring.stylesheets for discussion as a
document.