Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Marketing emails are always aligned at center

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear Experts, 

I am designing a Marketing email and I want make it look like a normal email rather than beautiful marketing email. I am not sure how can I achieve it. 

pastedimage1574308601470v1.png

I noticed that table is aligned at center and hence whenever I receive email it is always aligned from center. As, I want to make it look like a normal email, I want to know if I can make table to left aligned. Is there a way?

Thanks in advance.

  • Somasree Profile Picture
    Somasree 5 on at
    RE: Marketing emails are always aligned at center

    Hi, We are also facing the same problem. We are changing the HTML and after applying margin-left, the whole column moves to the left in the browser but when the email is opened from outlook, it still shows in the center.

    Can you please tell us what changes you made in the HTML which resolved your issue?

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Marketing emails are always aligned at center

    Hi Vaibhav,

    It's glad that your problem has been solved.

    Regards,

    Clofly

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Marketing emails are always aligned at center

    Thanks Clofly. This is helpful.

    Apparently, I removed HTML source and write my own source. Because mine was text email, it worked out.

    Thanks again

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Marketing emails are always aligned at center

    Hi Vaibhav,

    Could you let me know how do you design marketing email, by modifying an OOB template or begin from a blank template?

    In blank template, I didn't find table tag would be added to HTML source code automatically.

    While it existed in an OOB template: Thank you, so I take it as example:

    In the template, the content (<table class="body">) is not center aligned in fact, actually its a element which has 100% width to cover all body:

    pastedimage1574316215262v1.png

    If we remove the attribute, then the content will look like left aligned:

    pastedimage1574316261728v2.png

    In Email Designer and preview mode:

    pastedimage1574316291170v3.png pastedimage1574316371591v4.png

    So I suggest you could copy and save source HTML code as a local HTML file to test appearance,

    it would be different in your template or code, but you can test with developer tool inspector without changing code,

    then update or remove attribute once you got the appearance that you want.

    If you had any trouble please share me code if possible and I'll test.

    Regards,

    Clofly

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans