Outlook fluid table fixed

pull/44/head
Daniel Gómez-Zurita 2016-02-16 14:10:59 +01:00 committed by Jairo Llopis
parent 71b0fdb962
commit 762a9f8202
8 changed files with 31 additions and 39 deletions

View File

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_1_col'"/> <t t-set="image" t-value="'snippet_1_col'"/>
<t t-set="title">Big image + Text + Button (1 column)</t> <t t-set="title">Big image + Text + Button (1 column)</t>
<tbody> <tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr> <tr>
<td><a href="#" target="_blank"><img src="http://placehold.it/570x200/333333/ffffff?text=width 570px" style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt; width: 100%; max-width: 570px; min-width:285px;" border="0"/> </a></td> <td><a href="#" target="_blank"><img src="http://placehold.it/570x200/333333/ffffff?text=width 570px" style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt; width: 100%; max-width: 570px; min-width:285px;" border="0"/> </a></td>
</tr> </tr>

View File

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_2_cols'"/> <t t-set="image" t-value="'snippet_2_cols'"/>
<t t-set="title">Image + Text + Button (2 columns)</t> <t t-set="title">Image + Text + Button (2 columns)</t>
<tbody> <tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr> <tr>
<td style="padding: 0;" valign="top"> <td style="padding: 0;" valign="top">
<!-- LEFT COLUMN --> <!-- LEFT COLUMN -->

View File

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_3_cols'"/> <t t-set="image" t-value="'snippet_3_cols'"/>
<t t-set="title">Image + Text + Button (3 columns)</t> <t t-set="title">Image + Text + Button (3 columns)</t>
<tbody> <tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr> <tr>
<!-- FIRST COLUMN --> <!-- FIRST COLUMN -->
<td style="padding: 0;" valign="top"> <td style="padding: 0;" valign="top">

View File

@ -11,10 +11,7 @@
<t t-call="website_mail_snippet_responsive.snippet"> <t t-call="website_mail_snippet_responsive.snippet">
<t t-set="image" t-value="'snippet_event_date'"/> <t t-set="image" t-value="'snippet_event_date'"/>
<t t-set="title">Date + Text + Button (2 columns)</t> <t t-set="title">Date + Text + Button (2 columns)</t>
<tbody> <tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr> <tr>
<td style="padding:0 20px;"> <td style="padding:0 20px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <table border="0" cellpadding="0" cellspacing="0" width="100%">

View File

@ -24,9 +24,6 @@
<t t-set="image" t-value="'snippet_hr'"/> <t t-set="image" t-value="'snippet_hr'"/>
<t t-set="title">Horizontal Separator</t> <t t-set="title">Horizontal Separator</t>
<tbody> <tbody>
<tr>
<td bgcolor="#ECECEC" height="10"/>
</tr>
<tr> <tr>
<td bgcolor="#00B518" <td bgcolor="#00B518"
height="5" height="5"

View File

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_img_text'"/> <t t-set="image" t-value="'snippet_img_text'"/>
<t t-set="title">Left Image, Right Text + Button</t> <t t-set="title">Left Image, Right Text + Button</t>
<tbody> <tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr> <tr>
<td style="padding: 0;" valign="top"> <td style="padding: 0;" valign="top">
<!-- LEFT COLUMN --> <!-- LEFT COLUMN -->

View File

@ -12,9 +12,6 @@
<t t-set="image" t-value="'snippet_text_img'"/> <t t-set="image" t-value="'snippet_text_img'"/>
<t t-set="title">Left Text and Button, Right Image</t> <t t-set="title">Left Text and Button, Right Image</t>
<tbody> <tbody>
<tr>
<td bgcolor="#ECECEC" height="10"></td>
</tr>
<tr> <tr>
<td style="padding: 0;" valign="top"> <td style="padding: 0;" valign="top">
<!-- LEFT COLUMN --> <!-- LEFT COLUMN -->

View File

@ -18,13 +18,26 @@
<div <div
class="oe_snippet_body" class="oe_snippet_body"
style="padding:0px; width:100%; background-color:#ececec; color:rgb(0,0,0); line-height:20px; font-family:Arial,sans-serif; font-size:9pt"> style="padding:0px; width:100%; background-color:#ececec; color:rgb(0,0,0); line-height:20px; font-family:Arial,sans-serif; font-size:9pt">
<table <!--[if gte mso]>
style="width: 100%; max-width: 570px; border-collapse: collapse; background: inherit; color: inherit; background: #FFFFFF" <style type="text/css">
cellpadding="0" .fluid { width: 600px !important; }
cellspacing="0" </style>
align="center" <![endif]-->
bgcolor="#FFFFFF"> <table class="fluid" align="center" cellpadding="0" cellspacing="0" style="max-width: 600px; border-collapse: collapse; background: inherit; color: inherit;">
<t t-raw="0"/> <tbody>
<tr>
<td class="bg_color_picker" style="background-color:#ececec; padding:10px 15px 0 15px;">
<table
style="width: 100%; max-width: 570px; border-collapse: collapse; background: inherit; color: inherit; background: #FFFFFF"
cellpadding="0"
cellspacing="0"
align="center"
bgcolor="#FFFFFF">
<t t-raw="0"/>
</table>
</td>
</tr>
</tbody>
</table> </table>
</div> </div>
</div> </div>