• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Text Properties > kerning-mode Property

10.26. kerning-mode Property

The kerning-mode property controls kerning effects. Kerning refers to the spaces in between individual letters comprising a word — a word that does not use kerning generally occupies more horizontal space than one that is kerned.

kerning-mode has three unique values in addition to the initial and inherit values common to all CSS3 properties: none, pair and contextual. The none value is the default, and does not set any kerning value. The pair value enables what is known as pair kerning, which removes excess space between adjacent letter pairs. For example, it would remove the space between the overlying part of the letter “Y” when it is adjacent to a small letter like “o.” This value is for use with Western languages, as well as Greek and Cyrillic languages. The contextual value is meant for Asian character sets, and, like pair, it removes any space it can between characters, depending, of course, on the individual characters. The initial value takes on the default value for kerning-mode, which in this case is none, and the inherit value takes on whatever parent value may pre-exist for kerning-mode.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint