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

Notifications

Announcements

Community site session details

Community site session details

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

Styling not getting reflected while working with HTML Connector

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard