案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style> 
5
p.test
6
{
7
width:11em; 
8
border:1px solid #000000;
9
word-wrap:break-word;
10
}
11
</style>
12
</head>
13
<body>
14
15
<p class="test">This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.</p>
16
17
</body>
18
</html>
19