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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Styling not getting re...
Power Automate
Answered

Styling not getting reflected while working with HTML Connector

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Actually I'm facing few issues while using html styling with Gmail connector. 

I have entered styling in my automated flow and tried to use that in Gmail body(as I have shown up in screenshot). But styling is not getting reflected when I received an email. 

Even I have also tried to style in email body.. but that's failed as well.

Css StylingCss StylingTiksha_1-1641402077166.pngTiksha_2-1641402100534.png

Categories:
  • hemrhk Profile Picture
    361 on at

    Checkout this post which guides to style HTML tables,

     

    https://365stack.in/index.php/2021/12/25/how-to-style-html-table-in-power-automate/ 

     

    Follow 365 Stack for instant updates

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have tried that as well. Difference is that in a blog you have used Outlook and I used Gmail as a connector. Does this make any difference.

  • Verified answer
    jinivthakkar Profile Picture
    4,187 on at

    @Tiksha I was able to make this work, html formatting will also work for Gmail connector

     

    Gmail output

    jinivthakkar_0-1641486306954.png

    Sample HTML for your reference which I have used 

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
    <style>td {width:50%;border: 1px solid;}
    #t1 {width:100%;border: 1px solid;border-collapse:collapse;}
    </style>
    </head>
    <body>
    Hello, <br>
    <br>
    Test
    <br>
    <br>
    <b>TEST</b> <br>
    <br>
    <table id="t1">
    <tbody>
    <tr>
    <td style="background-color:#dddddd"><b>COL1</b></td>
    <td>VAL1</td>
    </tr>
    <tr>
    <td style="background-color:#dddddd"><b>COL2</b></td>
    <td>VAL2</td>
    </tr>
    </tbody>
    </table>
    <br>
    <br>
    </body>
    </html>
    

     

    --------------------------------------------------------------------------------

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • agentcheesecake Profile Picture
    5 on at

    thanks a lot) it helped me

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard