Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

Image alignment issue in android


Total Posts:  2
Posted: 24 January 2017 12:15 AM


I am trying to align image to left, right and center. My code snippet is like below

<td style="padding: 10px 0px 10px 50px; margin: 0px auto;" class="image" align="left">
a target="_blank" class="imgLink" href=""><img class="" border="0" align="one_image" style="display:block;max-width:350px" alt="Alt+txt" src="https://1485165374358.png" tabindex="0" width="350" height="150" data-maxwidth="640" ></a>

Above code is working fine for align center but not fine for align left and right in android 5.1

Please assist

Thank you.


Alex Ilhan

Total Posts:  229
Posted: 24 January 2017 08:24 AM
[ # 1 ]

Hi venkatmantra,

On your TD you have padding set to 10px 0px 10px 50px. This means you’re adding 50px of padding to the left. This could be causing the issues you are seeing in Android.

if this doesn’t work, please attach your full code as a .HTML file and I will further investigate.

Many thanks,