Why is the second paragraph in my example truncated to one line. Is this a bug or do I something wrong?
If I remove the 'size: A4;' from the @page definition then even the first paragraph gets truncated to on line.
If I remove the 'size: A4;' from the @page definition then even the first paragraph gets truncated to on line.
<html>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
<title>Multi Line Problem</title>
<style type="text/css">
@page {
size: A4;
margin-top: 0mm;
margin-right: 0mm;
margin-bottom: 50mm;
margin-left: 0mm;
padding: 0;
bordre: 0;
}
.text1, .text2 {
position: absolute;
top: 230mm;
left: 18mm;
font-family: Arial, Helvetica;
font-size: 8pt;
font-weight: bold;
text-align:left;
border: 1px solid red;
}
.text2 {
top: 250mm;
}
</style>
</head>
<body>
<p class="text1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<br />Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<p class="text2">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<br />Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
</body>
</html>