Description
The word-wrap property specifies whether or not to transfer long words that do not fit in the width of the specified area. This property is of a rough nature and when validating the document in CSS3 gives an error.
Syntax
word-wrap: normal | break-word | inherit
Values
normal -The rows are not moved or moved to locations where the transfer is explicitly specified (for example, using the <br> tag).
break-word - Line wrapping is added automatically so that the word fits into the specified width of the block.
inherit -Inherits the value of the parent.
Example
.exp {
width: 230px; /*Block width */
word-wrap: break-word; /*Hyphenation*/
}
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать