Word Wrap Problem

843 views
Skip to first unread message

Jose Cerrato

unread,
Dec 23, 2011, 12:03:08 PM12/23/11
to dompdf
Hi there, does any body have problems making word wrap work

this is the example on the dompdf website

<!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>


There works perfect, but when i try it on the demo page on my server
it doesn't work

help please

p.s. sorry my english is not very good

BrianS

unread,
Dec 27, 2011, 9:45:58 AM12/27/11
to dom...@googlegroups.com
On Friday, December 23, 2011 12:03:08 PM UTC-5, Jose Cerrato wrote:
Hi there, does any body have problems making word wrap work

...


There works perfect, but when i try it on the demo page on my server
it doesn't work

Support for word-wrap: break-word was added after the release of v0.6.0 beta 2 and will be included in the next release. If you need this functionality for your site you can download the latest code from the code repository or grab a "nightly" release.

Jose Cerrato

unread,
Dec 27, 2011, 1:08:28 PM12/27/11
to dom...@googlegroups.com
thanks i just grab the nightly release

2011/12/27 BrianS <eclect...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/H70aryaAF8AJ.

To post to this group, send email to dom...@googlegroups.com.
To unsubscribe from this group, send email to dompdf+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dompdf?hl=en.

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages