web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Table issues HTML to PDF

(0) ShareShare
ReportReport
Posted on by 52

Hello,

 

i have padding issues with the table which i have Converted via Power Automate from HTML to PDF.

cellpedding='4'

But the headline is very narrowly.

Bajda_0-1702301361312.png

I have the same question (0)
  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on at
    Re: Table issues HTML to PDF

    hi @Bajda  could be cellpadding instead of cellpedding

  • Bajda Profile Picture
    52 on at
    Re: Table issues HTML to PDF

    Sorry, i mean cellpadding

  • Chriddle Profile Picture
    8,319 Super User 2025 Season 2 on at
    Re: Table issues HTML to PDF

    https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding

    Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible

  • Bajda Profile Picture
    52 on at
    Re: Table issues HTML to PDF

    Bajda_0-1702373630102.pngBajda_1-1702373652467.png

    Now i have padding:5px in <tr> (headline) but Power Automate generate also something like a "textborder" without padding... 

  • Chriddle Profile Picture
    8,319 Super User 2025 Season 2 on at
    Re: Table issues HTML to PDF

    You should show us the HTML/CSS

  • Bajda Profile Picture
    52 on at
    Re: Table issues HTML to PDF

    </h1>"&"<table width='100%'> "&"<tr>
    <td> </td>"&"<td></td>"&"</tr>"&"<tr>
    </tr>"&"</table> <br>"&"<strong> Für die Tage: </strong> "&DatePicker1_2.SelectedDate& " bis " &DatePicker1_4.SelectedDate & "<table width='100%' border='1' style='border:1px solid black;font-size:8px; border-collapse:collapse'>"&"<tr>
    <th style='padding: 3px;'>Bestellt am</th> <th>Hauptgericht 1</th> <th> Hauptgericht 2 </th> <th> Hauptgericht 3 </th> <th> Pizza 1 klein </th> <th> Pizza 1 groß </th> <th> Pizza 2 klein </th> <th> Pizza 2 groß </th> <th> Pizza 3 klein </th> <th> Pizza 3 groß </th> <th> Spezialgericht </th>
    </tr>
    <tr>"&Concat((Gallery3.AllItems);"<td>"&Datecol&" </td>
    <td>"&MainDish1Count&" </td>
    <td>"&MainDish2Count&" </td>
    <td>"&MainDish3Count&" </td>
    <td>"&Pizza1kleinCount&" </td>
    <td>"&Pizza1großCount&" </td>
    <td>"&Pizza2kleinCount&" </td>
    <td>"&Pizza2großCount&" </td>
    <td>"&Pizza3kleinCount&" </td>
    <td>"&Pizza3großCount&" </td>
    <td>"&SpezialgerichtCount&"</td>
    ";"</tr><tr>")&"</table> <br> "&"<table width='100%' border='1' align='center' style='border:1px solid black;font-size:9px; border-collapse:collapse'>"

  • Chriddle Profile Picture
    8,319 Super User 2025 Season 2 on at
    Re: Table issues HTML to PDF

    This does not look like the HTML of the screenshots you provided and it does not look like valid HTML.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard