On Thu, 30 Dec 2004, Porthos wrote:
I don't want to change it's
<news:alt.possessive.its.has.no.apostrophe>
font/size; just the font/size of the rest of the document to match.
What do you mean by "match"?
It's conventional to display preformatted text in a monospace font. Do
you want to display everything else in a monospace font? If not, then
you'll need to define "match" more precisely. x-height? Average
width? Average area?
Even if you -define- it, I'm not sure how well it's going to work in
practice, given that you don't actually know whether the reader will
have the fonts that you intended. In any case, this isn't an HTML
issue, so you'd be better off in the stylesheets group.
From practical experience I find that monospace text at 100% looks
somewhat oversize, so I tend to propose a size around 90% of the base
size. Of course, I leave the base size to the reader's discretion.
Some will argue that I should leave the <pre> size to their discretion
too, and I wouldn't argue too strongly with that. But bearing in mind
that:
* normal size text is usually large enough to be reduced by one (~90%)
or even two (~ 81%) size steps and still be readable (even if with
some difficulty in the second case),
* <pre> text is not intended to be sized, since it's meant to be
displayed with a fixed pitch
- it seems to me that proposing that <pre> be displayed with a
monospaced font with size of 90% of the base size is a fairly harmless
suggestion. But that's IMHO and YMMV.