HTML and CSS Reference
In-Depth Information
word-wrap
This property can be set to allow line breaks within words when content exceeds the limits
of its containing element.
Syntax
word-wrap: break-word | normal
Example
<p style="word-wrap: break-word; width: 30px;">
Words can break in this example even if they are veryveryverylong. Here is
another long one:Transcendentalism this might get split in two! </p>
Compatibility
CSS3
IE 5.5+
Note
• Under IE 8 this property is also known and should be set as -ms-word-wrap to
correctly identify it as an extension in a standards-compliant mode.
writing-mode
This Microsoft-proposed CSS property can be used to set text flow appropriate for European
alphabets or East Asian alphabets.
Syntax
writing-mode: bt-lr | bt-rl | lr-bt | lr-tb | rl-tb | rl-bt | tb-rl | tb-lr
Values are bt (bottom to top), lr (left to right), rl (right to left), and tb (top to bottom) and
are combined in a variety of ways.
Examples
<p style="writing-mode: tb-rl;">
Top to bottom, right to left.
</p>
<p style="writing-mode: tb-lr;">
Top to bottom, left to right.
</p>
Search WWH ::




Custom Search