Forcing fixed width email body to left align

Most email clients seem to center a fixed width email - is it possible to force them to left align it, or do i need to go for body 100% width and then put the text inside a fixed width table?

Stephen, 2 years ago

Hi pelicanbrief,

Thanks for your question and no problem, depending on your table structure, this is usually possible to achieve by simply adding align="left" to the table containing your content.

As such, if you only have a single table, with no outer, 100% wide table, then the following should align your campaign to the left:

<table width="640" border="0" cellspacing="0" cellpadding="0" align="left">
    <tr>
        <td>Your campaign / content here</td>
    </tr>
</table>

If you do have a 100% wide, outer table in your template however, then the same principle applies, however you may also wish to add align="left" to the <td> containing your fixed width table, such as:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td align="left">
    
        <table width="640" border="0" cellspacing="0" cellpadding="0" align="left">
            <tr>
                <td>Your campaign / content here</td>
            </tr>
        </table>
    
        </td>
    </tr>
</table>

So perhaps give that a try and let us know how you go here!

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098