The PA I'm building creates a pdf from an html structure. I'm struggling with styling because the html label doesn't seem to accept styling, only tags such as
<strong></strong>
I've tried things like
<table style' etc...'>
But none of it seems to be read by powerapps and it completely ignores it.
My objective is to get the below code to span the page, instead of being shoved into the left corner and also put borders around the table at the bottom. The only styling I've managed is to use color and font weight. Is adding a table border too much and how would I increase a tables width?
<body>
<h1 ><font color=blue>" & DetailsTitle & "</font></h1>
<table >
<tbody>
<tr>
<td><strong>Title1</strong></td>
<td><strong>Title2</strong></td>
</tr>
<tr>
<td>" & var1 &"</td>
<td>" & var2 &"</td>
</tr>
<tr><td><td/></tr>
<tr>
<td><strong>Title 3:</strong></td>
<td><strong>Title 4:</strong></td>
</tr>
<tr>
<td>" & var3 & "</td>
<td>" & var4 & "</td>
</tr>
<tr><td><td/></tr>
<tr>
<td><strong>Title 5:</strong></td>
<td><strong>Title 6:</strong></td>
</tr>
<tr>
<td>" & var5 & "</td>
<td>" & var6 & "</td>
</tr>
<tr><td><td/></tr>
<tr>
<td><strong>Title 7:</strong></td>
<td><strong>Title 8:</strong></td>
</tr>
<tr>
<td>" & var7 & "</td>
<td>" & var8 & "</td>
</tr>
<tr><td><td/></tr>
<tr>
<td><strong>Title 9:</strong></td>
</tr>
<tr>
<td>" & var9 &"</td>
</tr>
</tbody>
</table>
<p><strong>Title 10:</strong> </p>
<p>" & var10 & "</p>
<p><strong>Title 11:</strong> </p>
<table border='1'>
<tr>
<th><strong>Item</strong></th><th><strong>Cost</strong></th><th><strong>Cost Frequency</strong></th>
</tr>
<tbody>
" & Concat(Collection, "
<tr>
<td> " & Item & "</td>
<td> " & Cost & "</td>
<td> " & CostFrequency & "</td>
</tr> " )&"
</tbody>
</table>
</body>
</html>
"