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 : c/GaLLq74qrXscEEbdLJTb
Power Automate - Building Flows
Answered

Formatting html tables

Like (0) ShareShare
ReportReport
Posted on 30 Apr 2024 01:09:49 by 205

Hi all,

 

I am trying to format 4 separate html tables to be sent in an email and following the steps listed here. While the conditional formatting works, there are some strange gaps in the tables that I can't get rid of and the tables sometimes do not span the full width of the window. Any help on how to resolve this issue would be very much appreciated!

 

ccqn_0-1714439348316.png

 

  • ccqn Profile Picture
    205 on 13 May 2024 at 01:57:40
    Re: Formatting html tables

    Hi @ol_poweruser ,

     

    Thanks for the link, I've added the following snippet in and the format is now as desired.

    <style>
    table {
     border-spacing: 0;
     border-collapse: collapse;
    }
    
    td,th,tr {
     padding: 0px;
    }
    </style>
  • Verified answer
    ol_poweruser Profile Picture
    75 on 13 May 2024 at 00:58:28
    Re: Formatting html tables

    Hi, without more information, I think you may need to adjust your style settings for your table. 

    From your screenshot, it appears that you need to apply collapse to you may need to apply "collapse" to additional elements.  Also, you can use padding and spacing to adjust your table size if you would like it to be consistent.

    Here is a link to a great reference HTML tables that I check out whenever I need a refresher:  

    https://www.w3schools.com/html/html_tables.asp

    I hope this helps or at least gives you a start!

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete