The word-wrap property allows to force the text to wrap.
That is, even it also split it in the middle of a word for wrapping.
syntax of this property is
word-wrap: normal|break-word;
All the latest browsers support this property.
The possible values are
- normal : Break words only at allowed break points
- break-word : Allows unbreakable words to be broken
JavaScript syntax of this property is object.style.wordWrap="break-word"
Example for text-shadow property..
p.test {word-wrap:break-word;}
0 Comments:
Post a Comment