The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Text (International) |
| Previous Style: width | Next Style: word-spacing |


word-break

Specifies the line-breaking behavior within words (word-breaks), particularly in elements containing mixed languages.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

See Also:

line-break

Possible Values:

break-all
Allows word-breaks for Asian text, and allows arbitrary line-breaks for non-Asian text.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Notes:
  • This value is designed for Asian text that contains a little bit of non-Asian text.

keep-all
Allows word-breaks for non-Asian text, and does not allow word-breaks for Asian text.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Notes:
  • This value is designed for non-Asian text that contains a little bit of Asian text.

normal
Allows word-breaks.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Example:
<BLOCKQUOTE STYLE="word-break: keep-all">
There are a billion people in China. That means if 
you're a one in a million sort of a guy there are a 
thousand others just like you. &#151;A. Whitney Brown
</BLOCKQUOTE>
How It Looks:
There are a billion people in China. That means if you're a one in a million sort of a guy there are a thousand others just like you. —A. Whitney Brown

| Index | Current Category: Text (International) |
| Previous Style: width | Next Style: word-spacing |