How can I set the width when I add content to the @bottom via string-set? In my example the footer text flows over the page border and I could not find a way to set the width to force the text to be wrapped.
<html>
<head>
<title>Test</title>
<style type="text/css">
@page {
margin-bottom: 15mm;
@bottom {
content: flow(pageFooterFlow);
vertical-align: top;
width: 175mm;
}
}
.dynamicFooter-set{
string-set: dynamicFooter content();
}
.dynamicFooter-clear{
string-set: dynamicFooter "";
}
.footerText {
flow: static(pageFooterFlow);
content: string(dynamicFooter);
max-width: 175mm;
}
</style>
</head>
<body>
<div>
<div style="width:175mm;" class="dynamicFooter-set">
<p class="footerText dynamicFooter-set">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
</div>
<table>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
<tr><td >top</td></tr>
</table>
</div>
<div style="float: bottom; margin:0; padding:0;">
<table>
<tr><td class="dynamicFooter-clear" >bottom</td></tr>
<tr><td >bottom</td></tr>
<tr><td >bottom</td></tr>
</table>
</div>
</body>
</html>