I am trying to find out a solution of adding tables next to each other without using 'float:left;'. I am using the code for an email template and 'float' doesn't work on Outlook and some other email clients.
I have tried everything I could think of, searched the forum and all over the web but I am unable to find a solution.
Here's the code I am using:
<table width="155" height="155" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff" class="main-content" style="float:left;margin-bottom:20px;">
<tbody>
<tr>
<td><img style="border:0;" align="none" height="113" width="166" src="<?php echo $post_thumbnail ?>" /></td>
<td bgcolor="#f4f4f4" width="35" style="color:#f4f4f4;">T</td>
</tr>
<tr>
<td style="font-family:arial;font-size:13px;font-weight:bold !important;line-height:17px;padding:10px 10px 0;"><strong>Text</strong></td>
<td bgcolor="#f4f4f4" width="35" style="color:#f4f4f4;">T</td>
</tr>
<tr>
<td width="155" style="color: #666;font-size:13px;padding:0 10px 15px;">
<a style="background-color:#ac0003; color:#ffffff; border:1px solid #660b0e;cursor: pointer; display: block; font-family:Arial, Helvetica, sans-serif; font-size:12px; margin: 0 auto;margin-top:10px;padding: 2px 11px;;text-decoration:none;color:#ffffff; font-weight:bold;text-align:center;text-decoration:none;" href="<?php echo $post->guid ?>">Text</a>
</td>
<td bgcolor="#f4f4f4" width="35" style="color:#f4f4f4;">T</td>
</tr>
</tbody>
</table>
Help!