HTML/CSS/CSS Attributes and Javascript Style Properties/word break — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 09:20, 26 мая 2010
"word-break" Example
<html>
<body>
<div id="myD"
style="width:400px; background-color:red;">
This is a sample paragraph.
This is a sample paragraph.
This is a sample paragraph.
This is a sample paragraph.
This is a sample paragraph.
This is a sample paragraph.
This is a sample paragraph.
</div>
<br>
<input type="button"
value="Set wordBreak property to break-all"
onclick="myD.style.wordBreak="break-all"">
</body>
</html>