Skip to main content

Notifications

Community site session details
Power Automate - General Discussion
Answered

How can I left-align my email content?

Like (1) ShareShare
ReportReport
Posted on 7 Aug 2017 16:28:57 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:
  • Del_Campang Profile Picture
    2 on 14 May 2024 at 08:31:50
    Re: How can I left-align my email content?

    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>"

  • Fars4 Profile Picture
    7 on 02 Dec 2023 at 22:39:29
    Re: How can I left-align my email content?

    Can anyone update this ?

    its old

  • yanetthollins Profile Picture
    2 on 05 Oct 2022 at 15:24:44
    Re: How can I left-align my email content?

    yanetthollins_0-1664983476087.png

     

  • johnddy Profile Picture
    4 on 28 Mar 2022 at 06:19:56
    Re: How can I left-align my email content?

    w do i fix that 

  • johnddy Profile Picture
    4 on 28 Mar 2022 at 06:19:20
    Re: How can I left-align my email content?

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

    johnddy_0-1648448337431.png

     

  • DionGoile Profile Picture
    110 on 15 Aug 2017 at 11:05:04
    Re: How can I left-align my email content?
    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.
  • kylewhit Profile Picture
    on 14 Aug 2017 at 17:50:51
    Re: How can I left-align my email content?

    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.

     

  • Verified answer
    v-micsh-msft Profile Picture
    on 08 Aug 2017 at 07:33:28
    Re: How can I left-align my email content?

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started
Loading started