CSS WORD-BREAK - CSS3 Examples

CSS WORD-BREAK

Written by jon on 12:25 AM
This property controls the line breaking behavior within words. It is especially useful in cases where multiple languages are used within an element.
Example
div { word-break: keep-all }

<div style=”word-break: keep-all”>Western character set content mixed with a some Asian char content.</div>

Possible Values
Value Description
normal Normal line breaking behavior for the language is used.
break-all Useful where content contains a majority of Asian character set content, to which this value behaves like ‘normal'. Non-Asian character set content may be arbitrarily broken across lines.
keep-all Useful where content contains a minority of Asian character set content, to which content is not broken across lines. For non-Asian character set content, this value behaves like ‘normal'.

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS WORD-BREAK ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :