Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Why is my HTML signature displaying gigantic when delivered to Apple Mail program?

  • 2 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av Zenos

more options

I've created a custom HTML signature for the Thunderbird program that includes a graphic, but when an email sent from Thunderbird is viewed through Apple Mail, the graphic is magnified significantly. When sent through Thunderbird and viewed either in a browser based email, or through Thunderbird the graphic displays fine. It only seems to happen when viewed in Apple Mail. This HTML code that I have pasted below is the same HTML that others in my company use as custom HTML in their Apple Mail signature, and that displays fine in any email client or browser that is used.

All copy and fonts that are in the HTML display fine as well. It's only the graphic that has issues.

I tried to upload a screen shot of how the email looks when received in Apple Mail, but the upload keeps on failing. Maybe in the next response I can upload it then.

Any advice on how to fix this issue?

Thanks.

<style type="text/css">

  1. sig img {
   clear: both;

} .smaller {

   font-size: 9px;

} </style>

InHouse Creative Logo



John Doe // Bookkeeper

    
InHouse Creative 123 Main Street Town, CA 90210
e // johndoe@fakeemail.com p // 777.777.7777

I've created a custom HTML signature for the Thunderbird program that includes a graphic, but when an email sent from Thunderbird is viewed through Apple Mail, the graphic is magnified significantly. When sent through Thunderbird and viewed either in a browser based email, or through Thunderbird the graphic displays fine. It only seems to happen when viewed in Apple Mail. This HTML code that I have pasted below is the same HTML that others in my company use as custom HTML in their Apple Mail signature, and that displays fine in any email client or browser that is used. All copy and fonts that are in the HTML display fine as well. It's only the graphic that has issues. I tried to upload a screen shot of how the email looks when received in Apple Mail, but the upload keeps on failing. Maybe in the next response I can upload it then. Any advice on how to fix this issue? Thanks. <style type="text/css"> #sig img { clear: both; } .smaller { font-size: 9px; } </style> <div id="sig" style=" font-family: Sans-Serif, 'arial' ; font-size: 11px; color: #58585b; " > <div><img src="http://inhouse.zookeeperapp.com/assets/2/387c33495255bd5b3bc45d5c/image/InHouse_Logo_New_email.png" alt="InHouse Creative Logo" width="96" height="28" style="float: left; padding: 4px 10px 0 0;"></div> <div> <br /><br /><br /><p><strong>John Doe </strong>// Bookkeeper <br> <br> <span class="smaller"><strong>InHouse Creative</strong> 123 Main Street Town, CA 90210 <br> <strong>e</strong> // johndoe@fakeemail.com <strong> p</strong> // 777.777.7777 </span></p> </div> </div>

Alla svar (2)

more options

Well it looks like the HTML I pasted was actually converted...here is a picture of the HTML that I originally meant to show.

As well as a screen grab of how the graphic is displaying when read in Apple Mail.

more options

I notice that you have given font and padding sizes explicitly in pixels, but the img size is just numbers. I wonder if Apple's Mail assumes a different size unit (points? mm? inches?) when none is given? Maybe it doesn't honour image sizes?

How big is the original image? I'd always prefer to explicitly resize it in a graphics program to an appropriate size and point to the smaller version rather than rely on email programs to do the resizing for me.

I'd also choose to embed the image into the signature rather than rely on an URL, but that's just a personal preference.