How do I keep Apple Mail from resizing images in my HTML signature?


I created an HTML email signature for my company, and have everything working. It contains both text and an image containing HTML links to our website, and all looks well until I add it in the signature section of Apple's Mail. The text part stays as it should, but no matter what size I set the image to, Mail resizes it to be gigantic.

How do I change the size of the image to what I want without losing the link to our website?

8/10/2016 7:52:00 AM

HTML signatures in Apple Mail are a nightmare, Mail adds all sorts of strange markup to your HTML and its not easy to get at the actual HTML it outputs.

You can find more info on editing the HTML for you signature directly in this article:

As a rule with HTML emails you should code like it's 1999. Use tables for your layout and only use inline styles. It's horrible, and nigh on blasphemous in regular web development but email clients are decades behind modern browsers.

In short: Use tables for your layout and use a single table cell for your image (with the width set on the table and/or cell itself).

8/10/2016 11:59:00 PM