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

Chapter 10. Text Properties > text-justify-trim Property

10.13. text-justify-trim Property

This CSS3 text property is designed primarily for use with Asian character sets to help set the type of justification to be used. Specifically, it compresses things at the font level, so that any spaces that occur around a given character are reduced — all without actually affecting the character itself.

The text-justify-trim property has five values: none, punctuation, and punctuation-and-kana, as well as initial and inherit. The none value ensures that no font space between characters and punctuation is removed. The punctuation value (which is the default) allows the browser to remove any extra space from punctuation characters. The punctuation-and-kana value allows for full font-space compression between punctuation characters and regular characters. The initial value is a way to specifically set a property to its default value (useful on those occasions when you may not know what that is offhand) and the inherit value forces the browser to take on whatever parent value may exist for the property.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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