File: css_word_wrap.html

package info (click to toggle)
php-dompdf 0.6.1%2Bdfsg-2~bpo70%2B2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 4,200 kB
  • sloc: php: 19,599; makefile: 38; sh: 13
file content (36 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<title></title>

<style type="text/css">

div {
  background: #EDEDED;
  border: solid 1px #CCC;
  padding: 10px;
  width: 50px;
  margin: 10px;
}

.break-word {
  word-wrap: break-word;
}
</style>
</head>
<body>

<h3>break-word</h3>
<div class="break-word">
  <p>I'm a veeeeeeeerryyyyyy loooooooonggggggg teeeeexxxtttt</p>
  <p>http://www.w3.org/TR/2011/WD-css3-text-20110412/</p>
</div>

<h3>normal</h3>
<div class="normal">
  <p>I'm a veeeeeeeerryyyyyy loooooooonggggggg teeeeexxxtttt</p>
  <p>http://www.w3.org/TR/2011/WD-css3-text-20110412/</p>
</div>

</body>
</html>