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

Chapter 10. Text Properties > word-break-inside Property

10.16. word-break-inside Property

The word-break-inside property is part of the same small family of properties as word-break-cjk, and it also deals with where line breaks should occur in text.

The word-break-inside property has four values: normal and hyphenate, as well as the usual initial and inherit. The normal value is the default and tells the browser that any given word should stay on a single line. This value can be overridden if the word-break-cjk value is set to break-all, or if the wrap-option property (see below) is set to emergency. The hyphenate value tells the browser that it is okay to break a given word at an appropriate point within the word (such as between syllables, a hyphenation technique typical of Western languages). The initial value is CSS3's way of allowing you to explicitly set the default value for a given property when you don't know what it is, and the inherit value takes on any parent value that may have been set.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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