B.129. word-wrap

This nonstandard property, supported by Internet Explorer for Windows version 5.5 or later, lets you specify whether words that are too long to fit within the assigned width of an element should overflow that width (the default behavior) or be wrapped to the next line at the edge of the box.

Inherited: Yes

See also: Section B.126width, Section B.114text-overflow

B.129.1. Value

break-word or normal

Initial value: normal

B.129.2. Compatibility

CSS Version: n/a

Internet Explorer 5.5 for Windows or later only.

B.129.3. Example

This style rule allows long words throughout the document to be wrapped forcibly if they overflow the assigned width of their containers:

body {
  word-wrap: break-word;
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.143.4