Hi
In the "Look and Feel" option under "PDF Export" I have defined the header for the pages to be exported as PDF files. I have placed a table in the header where each cell eventually will contain document information. However I can't get the table width adjusted such that the with is matching the page with.
Code used the define table header:
<style>
table, td {
border:1px solid black;
border-collapse: collapse;
text-align: center;
}
</style>
<table style="width:100%">
<tr>
<td style="text-align: left">Field 1</td>
<td>Field 2</td>
</tr>
<tr>
<td>Document no:</td>
<td>Document description</td>
</tr>
<tr>
<td>Field 3</td>
<td>Field 4</td>
</tr>
</table>
I had expected that the <table style="width:100%"> would ensure that the table were stretched across the page, but the result is this:
I have tried different combinations of writing the with in the "style" part as well as defining the width in centimeters, but nothing seems to help.
A suggestion to determine the width of the table in the page header will be appriciated.
Regards
Henrik
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.