In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Matthew Thomas) wrote:
> CSS can be used to capitalize the first letter of a heading if it is in
> lower case to begin with.
But CSS can't transform the title to English title caps. That is, if you
put "getting the source" in the HTML file, you can't transform it to
"Getting the Source" using CSS. You can only transform it to "GETTING
THE SOURCE" or "Getting The Source".
> But CSS cannot be used to lower-case the first letter of a heading if it
> is capitalized to begin with, because CSS cannot tell whether the word
> was supposed to be a proper noun (in which case it should not be
> lower-cased).
I suppose that when the stylistic attitude requires lower-casing the
first letter of the title, it requires lower-casing every letter of the
title. CSS can do that.
> Therefore, the flexibility-maximizing solution is to make words in
> headings lower-case unless they are proper nouns.
I think the maximal flexibility is achieved using English title caps.[1]
Of the string in the HTML doc is "Getting the Source", the possible
variations with CSS are
"Getting the Source"
"getting the source"
"GETTING THE SOURCE"
"Getting The Source".
> (There is the odd problem that a few proper nouns don't have their first
> letter capitalized, and they would be incorrectly capitalized by a
> capitalizing style sheet. But such proper nouns are extremely unlikely
> to appear on the mozilla.org site at all, let alone as the first word of
> a heading.)
Do you mean "mozilla.org"? :-)
[1] I'm assuming all the docs are in English anyway. "English title
caps" can be substituted with "the default title orthography in the
document language" to be L10n-safe. :-)
--
Henri Sivonen
[EMAIL PROTECTED]
http://www.clinet.fi/~henris/