W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2002

Manual of style: 11.8

From: Charles McCathieNevile <charles@w3.org>
Date: Tue, 29 Jan 2002 05:22:13 -0500 (EST)
To: <spec-prod@w3.org>
Message-ID: <Pine.LNX.4.30.0201290516330.30062-100000@tux.w3.org>
11.8 says (in part)

 if pre examples are too long to fit on a 640x480 screen, shorten them.

This doesn't really provide enough information. In particular, this will
depend on font size used... by the user, not the style sheet (which according
to WCAG should in any event not be setting a size).

There is a problem in trying to use (X)HTML for producing examples of text
where the layout is really important, and where the examples are useful in a
device-independent world. But I think that the use of (repeated) &nbsp;
elements at the beginning of a line, and providing the examples in a format
that sizes reasonably according to the monitor size used, is the best

It is equally annoying to find that because I use a largish font size the
text over-runs its surrounding box (which nicely reflows on my screen - itsef
varying between about 800x800 and 1600x1200), and to find that I have a
little column of text on the left hand side that I could have had flow across
whatever space is available.

Charles McCN

Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
Received on Tuesday, 29 January 2002 05:22:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:16 UTC