Easy Tutorial
❮ Pr Object Position Css3 Pr Column Rule ❯

CSS3 text-wrap Property

Example

Allow no line breaks:


Browser Support

No major browsers support the text-wrap property.


Property Definition and Usage

The text-wrap property specifies text wrapping rules.

Default value: normal
Inherited: yes
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.textWrap="none"
--- ---

Syntax

Value Description
normal Wraps text only at allowed break points.
none No wrapping. Text that cannot fit within the element will overflow.
unrestricted Wraps between any two characters.
suppress Compresses line breaks within the element. Browsers only break lines when there are no other valid break points in the line.
❮ Pr Object Position Css3 Pr Column Rule ❯