HTML Email - Outlook.com won't recognise my vertical align control for an image -


i have image in cell 1 of 2 cell row. there text in cell 2. because outlook.com decides give spacing between text (compared other browsers) distorting (adding height to) whole row: image in cell 1 stays aligned top of cell.

i have tried forcing line height text, not work.

currently code is:

<td style="vertical-align: middle;" valign="middle"> <p style="text-align: center;"> <img style="margin: 0 auto; vertical-align: middle;" valign="middle" title="date , venue" alt="date , venue" src="imgurl" height="x" width="y"> </p> </td> 

but these instructions ignored outlook.com.

how make image center in cell?

images should have display:block; in email. don't need of margin or css align stuff. here basic example you:

<table width="100" border="0" cellpadding="0" cellspacing="0">   <tr>     <td width="100" height="100" align="center" valign="middle" bgcolor="#cccccc">  <img style="margin: 0; border: 0; padding: 0; display: block;" src="" width="50" height="50" alt="">      </td>   </tr> </table> 

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -