Typography - Getting The Hang Of Typography

(lu) #1
1 li {

(^2) white-space: nowrap;
(^3) width: 100%;
(^4) overflow: hidden;
(^5) -o-text-overflow: ellipsis;
(^6) text-overflow: ellipsis;
7 }
In the Editor՚s draft of the specification, you can see that other properties


related to text-overflow are being considered, such as text-


overflow-mode and text-overflow-ellipsis, for which


text-overflow would be the shorthand.


Alignment And Hyphenation


Controlling hyphenation online is tricky. Many factors need to be
considered when setting automatic hyphenation, such as the fact that
different rules apply to different languages. Take Portuguese, in which you
can hyphenate a word only at the end of a syllable; for double consonants,
the hyphen must be located right in the middle.


The specification is still being developed, but the proposed properties are:



  • hyphenate-dictionary

  • hyphenate-before

  • hyphenate-after

  • hyphenate-lines

  • hyphenate-character

Free download pdf