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

How do I align left an ordered list when crafting an email in HTML format?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello! Appreciate if I could get some help on this: I have an ordered list in my email and I will like the ordered list to align left rather than having the indent. How should I edit my HTML code? 

j_y_0-1629168770553.png

j_y_2-1629168905165.png

 

here's my HTML code and how it is currently reflected in my email, does anyone have a solution on how I remove the indent of my numbered list? Thanks in advance!

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,823 Super User 2026 Season 1 on at

    I'm not HTML expert, but you can try adjust the padding:

     

     

    <ol style="padding-left: 0;">
     <li>Item 1</li>
     <li>Item 2</li>
     <li>Item 3</li>
     <li>Item 4</li>
    </ol>

     

     

    ekarim2020_1-1629224378648.png

    but Outlook and other clients may render the HTML differently.


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Ellis, thank you for your suggestion! I tried, but unfortunately it still doesn't work for me in the email body in power automate, although this code works fine in a normal outlook email.

  • Ellis Karim Profile Picture
    11,823 Super User 2026 Season 1 on at

    >>>it still doesn't work for me in the email body in power automate

    In which Power Automate action are you trying to format and use the HTML code?

    Ellis

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello Ellis, I used it in the 'Send an email form a shared mailbox (V2)' action. Not sure if that is what you're referring to. I typed out the whole email using HTML view. Hope that helps

  • Ellis Karim Profile Picture
    11,823 Super User 2026 Season 1 on at

    Does the code work when reading emails via the browser?

    Did you have any luck with the Outlook Desktop client? The version of the Outlook Desktop Client I am using is:

    ekarim2020_2-1630237267343.png

    Ellis

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard