Click here to Skip to main content
15,896,296 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello I can't figure out the best way to fix this footer. The code is mostly done with HTML tables because Outlook renders using Words engine but that produces a weird looking footer.
Code
How it looks on Outlook 2013 - ss.

What I have tried:

Tried to wrap then in a another set of tables but no help...
Posted
Updated 15-Aug-18 7:10am
Comments
Patrice T 15-Aug-18 17:22pm    
Easy solution: don't use outlook. :)

1 solution

All I can tell you is getting an email to render correctly in Outlook is a pain in the ass. It's engine barely supports HTML in my humble opinion.

Start reading this stuff[^].

When I did this, I had some HTML tables that didn't render properly. I fixed it by wrapping my HTML in the following template:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr><td>
        <table class="content" align="left" cellpadding="0" cellspacing="0" border="0">
            <tr><td>
                {Email body HTML goes here}
            </td></tr>
        </table>
    </td></tr>
</table>
</body>
</html>


I MAKE NO GUARANTEES THAT THIS WILL WORK FOR YOU!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900