Hey All -been tinkering arounds with converting a html file to a pdf - I'm having an issue where my last 2 table rows aren't showing up in the PDF .. everything shows up perfect in the html but the PDF cuts off the last 2 rows of the table.
I also can't get the body to covert unless I wrap the table in a <div> tag. I'm no expert on anything... so just thought I'd see if anyone else ever ran across this, or knows of some special html to pdf rules. - some screenshots attached -thx
All data is just Single line of text in the SharePoint list - nothing fancy here at all. The values show in the compose output in the flow and in the html - So I know the flow is picking up the right values - they just get lost in the pdf convert.
Thx in advance


CODE:
<!DOCTYPE html>
<html>
<head>
<style>
table {
font-family: arial, sans-serif;
border: 1px solid black;
width: 75%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
border: 1px solid black;
padding: 2px;
}
address{
height: 100%;
}
body {
font-family: arial, sans-serif;
}
</style>
</head>
<body >
<br>
<br>
<div id="address">
<table>
<tr>
<th>From: </th>
<th>To:</th>
</tr>
<tr>
<td>@{outputs('Get_item_-_Vendors')?['body/Name']}</td>
<td>@{outputs('Get_item_-_Clients')?['body/Client_x0020_Name']}</td>
</tr>
<tr>
<td>@{outputs('Get_item_-_Vendors')?['body/Email']}</td>
<td>@{outputs('Get_item_-_Clients')?['body/Client_x0020_EMail']}</td>
</tr>
<tr>
<td>@{outputs('Get_item_-_Vendors')?['body/Street_x0020_Address']}</td>
<td>@{outputs('Get_item_-_Clients')?['body/StreetAddress']}</td>
</tr>
</tr>
<tr>
<td>@{outputs('Get_item_-_Vendors')?['body/City']}</td>
<td>@{outputs('Get_item_-_Clients')?['body/City']} </td>
<tr>
<td> @{outputs('Get_item_-_Vendors')?['body/State']} </td>
<td> @{outputs('Get_item_-_Clients')?['body/State']} </td>
</tr>
<tr>
<td> @{outputs('Get_item_-_Vendors')?['body/ZipCode']}</td>
<td>@{outputs('Get_item_-_Clients')?['body/ZipCode']}</td>
</table>
</div>
<br>
<br>
<p>@{triggerOutputs()?['body/InvoiceDate']}</p>
<p>@{triggerOutputs()?['body/Invoice_x0020_Number']}</p>
<br>
<p>@{triggerOutputs()?['body/Description']}</p>
<p>==========================================================</p>
<p>@{triggerOutputs()?['body/Hours']}.00 @ @{triggerOutputs()?['body/Rate']}.00 = $ @{variables('curr')}</p>
</body>
</html>