-
1. Re: Image size in preview is not right
mytaxsite.co.uk Sep 13, 2012 9:32 PM (in response to jod-zeee)How are you inserting the picture in your page? are you explicitly defining the Width and height of the picture? If you are then it should display exactly at that size. For example, try something like this:
<p><img alt="test-pic" height="190" src="2012-09-14_0516.png" width="380"></p>
In the above code, I have inserted the width and height of the picture.
Also, avoid using spaces in the file name. for example insert hyphens or underscore like this:
"2012-09-14_0516.png"
I hope this gives you the idea.
-
2. Re: Image size in preview is not right
jod-zeee Sep 13, 2012 9:52 PM (in response to mytaxsite.co.uk)Yes, the width and height are explicitly defined and there are no spaces. One thing to note is that the image is linked like this:
<td style="padding-top:0px; padding-bottom:0px;"><img src="http://www.mysite.com/images/sleeping-kitty-outside.jpg" width="596" height="200" alt="My description here" style="display:block;" /></td>
-
3. Re: Image size in preview is not right
mytaxsite.co.uk Sep 13, 2012 10:13 PM (in response to jod-zeee)Perhaps try this:
<td style="margin:0; padding-top:0; padding-bottom:0; display: block;" ><img src="http://www.mysite.com/images/sleeping-kitty-outside.jpg" width="596" height="200" alt="My description here" /></td>
I have added margin 0; and combined all styles in one place. Not sure if this is going to make any difference. Just try it.
-
4. Re: Image size in preview is not right
jod-zeee Sep 13, 2012 10:20 PM (in response to mytaxsite.co.uk)The problem is, with HTML e-mails, I've found that the design breaks in some e-mail clients if I combine the margin and padding.
-
5. Re: Image size in preview is not right
Sudarshan Thiagarajan Sep 14, 2012 1:22 AM (in response to jod-zeee)This should server as a reckoner for you for creating cross-compatible mailers: http://www.campaignmonitor.com/css/
Coming to your issue, do you set the main width and height of your table? Can we see your complete table code and a screenshot of what you mean by 'stretchd beyond recognition'?



