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 / How can I left-align m...
Power Automate
Unanswered

How can I left-align my email content?

(1) ShareShare
ReportReport
Posted on by

I have a Flow that sends an email containing HTML. It seems that Flow is adding "TEXT-ALIGN: center" as an inline style to the <body> element of my mail content, which then messes up the formatting of my mail. Is this the intended behavior? If so, is there a workaround? I'm not trying to do anything fancy, I'd just like the contents of my email to be left-aligned rather than centered.

Categories:
I have the same question (0)
  • Verified answer
    v-micsh-msft Profile Picture
    on at

    Hi @kylewhit,

     

    Would you please share more information about which Email Action you used here?

    If you are using the Office 365 Outlook Send An Email Action, then please click the Advanced option, there would be Is HTML available to select, set it to Yes, and then use the HTML tag to left-align the Email Body.

    <p style="text-align:left;">
    This text is left aligned
    </p>

    Reference:

    78.PNG

    If this is not the case, then please share a screenshot here, I will then help to take a look.

    Regards,

    Michael

  • kylewhit Profile Picture
    on at

    Yes, I've found that this works correctly. However, adding this attribute to every single element in the mail is very tedious so a CSS solution (or a fix to change the existing behavior of automatically adding "text-align: center" to the body) would be preferable.

     

  • DionGoile Profile Picture
    110 on at
    Put the style of your parent most tag and it should apply to all children unless specified elsewhere.

    You may need need to create a parent div in the body field of your email to with the style applied to place data into.
  • johnddy Profile Picture
    4 on at

    my incoming text email are all aligned on the RH side of my screen 

    johnddy_0-1648448337431.png

     

  • johnddy Profile Picture
    4 on at

    w do i fix that 

  • yanetthollins Profile Picture
    2 on at

    yanetthollins_0-1664983476087.png

     

  • Fars4 Profile Picture
    7 on at

    Can anyone update this ?

    its old

  • Del_Campang Profile Picture
    2 on at

    Hello, i am trying to center align the body but doesn't work. using power automate web. to send email


    "<p style="text-align:center;">Help your clients stay on top of their customers' payments effortlessly with BPI BizKo!</p>"

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