I have the following HTML which looks great in Powerapps, exactly as I expect it to be.
<html>
<head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
</head>
<body>
<h2><u>CyT OBJECTIVES</u></h2>
<table>
<td width = 250px;><h3><u>Details</span></td>
<td width = 250px;><h3><u>Activity</td>
<td width = 250px;><h3><u>Comments</td>
</table>
<table border>" & Concat(
galleryObjectives.AllItems,
"<tr><td width = 250px; valign = top>" & objDetails & "</td><td width = 250px; valign = top>" & objActivity & "</td><td width = 250px; valign = top>" & objComments & "</td></tr>") & "
</table>
</body>
</html>
The output is as expected

The output to the HTML is fine then it converts to a pdf, and the headings dissapear

the flow is as would expect

Am i missing something?
thanks