Re: What is a letter?

Matthew Brealey <webmaster@richinstyle.com> writes:

> What, for the purposes of first-letter, is a letter?

Here is what I found at
http://www.w3.org/TR/REC-CSS2/selector.html#img-first-letter

  "The :first-letter pseudo-element matches parts of block-level
 elements only.

   Some languages may have specific rules about how to treat certain
 letter combinations. In Dutch, for example, if the letter combination
 "ij" appears at the beginning of a word, both letters should be
 considered within the :first-letter pseudo-element."

Furthermore:
  
  "Punctuation (i.e, characters defined in Unicode [UNICODE] in the
  "open" (Ps), "close" (Pe), and "other" (Po) punctuation classes),
  that precedes the first letter should be included, as in:"

(see illustration at above link).

Received on Tuesday, 18 July 2000 13:50:34 UTC