December 17, 201312 yr Hi I'm doing a Christmas e-card using mailchimp. I've done the code and sent a test e-mail, but I'm getting some breaks in my table when it's delivered to yahoo. I know all the e-mail clients handle e-mails differently but is there a way I can get it to display properly? Here's my code: <!DOCTYPE html PUBLIC -W3CDTD XHTML 1.0 TransitionalEN httpwww.w3.orgTRxhtml1DTDxhtml1-transitional.dtd/> <html xmlns=httpwww.w3.org1999xhtml> <head> <meta http-equiv=Content-Type content=texthtml; charset=UTF-8 /> <title></title> <style></style> </head> <body> <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable"> <tr> <td align="center" valign="top"> <table cellspacing="0" cellpadding="0" border="0" width="1000"> <tr> <td><img src="topleft.jpg"/></td> <td><img src="top.jpg"/></td> <td><img src="topright.jpg"/></td> </tr> <tr> <td><img src="left.jpg"/></td> <td> Content </td> <td><img src="right.jpg"/></td> </tr> <tr> <td><img src="bottomleft.jpg"/></td> <td><img src="bottom.jpg"/></td> <td><img src="bottomright.jpg"/></td> </tr> </table> </td> </tr> </table> </body> </html> Thanks in advance Kerstey
December 17, 201312 yr I would recommend you to first check a pop up preview of your email template before doing test mail. If it's ok and images are not coming properly to the yahoo you can host images anywhere else and provide a link to that image in your html.
December 17, 201312 yr Sorry if I am missing something but your image tags would search the domain the email is on, you need to specify full image URL such as http://www.example.com/myimage.png
December 17, 201312 yr agree with the other guys on the images they need to be full URLs and are possibly working on your machine as they have them in the directory somewhere. As for your issue with the lines try adding: align="left" valign="top" to all the <td>'s in the inner table. With your images add: alt="" style="border:none;display:block;" border="0"/> and anywhere you have border="0" also use style="border:none" as, like you say, different email clients interpret the email differently.
December 18, 201312 yr Author The full image urls are created when I uploaded the html file along with the images to mail chimp. Otherwise they wouldn't be showing at all. It's the 2 horizontal gaps in the table that I can't get rid of. There aren't any vertical gaps.
December 18, 201312 yr Try putting fixed dimensions into the cells and images ie. <td width="200" height="200"><img src="topleft.jpg" width="200" height="200" /></td>
Create an account or sign in to comment