freemarker - Free Marker Template: Issue with height of table in free marker template. Table's height not getting reflected. -


in below email template when changing height of tables (i.e. id="dueamt1" , id="dueamt2" ,id="dueamt3") not getting reflected in email template how ever can see chagnes reflects when opening browser. please me understand why changes or not getting reflected in email ?

<!doctype html> <html> <head> <meta charset="iso-8859-1"> <title>insert title here</title> </head> <body> <table width="100%" cellpadding="10" style="border-color: white;border-width: 0;border-bottom: 0px solid rgb(230,230,230);">                 <tr>                     <td align="center" style="color: rgb(74,74,74);text-transform: uppercase;font-weight: bold;font-size: 14pt;">this bill compared previous months</td>                 </tr>                 <tr>                     <td>                         <table width="100%" style="border-color: white;border-width: 0;">                             <#assign maxamount = maxbill((damt1)!0,(damt2)!0,(damt3)!0)>                             <#if maxamount == 1>                                 <#assign maxbillvalue = damt1>                             <#elseif maxamount == 2>                                 <#assign maxbillvalue = damt2>                             <#elseif maxamount == 3>                                 <#assign maxbillvalue = damt3>                             </#if>                             <#if (maxamount > 0)>                                 <#if damt1??>                                 <tr cellpadding="20">                                     <td width="100" style="padding-bottom: 10px;">                                         <div style="color: rgb(51,51,51);font-weight: bold;font-size: 14pt;text-align: left;">$${damt1}</div>                                         <div style="color: rgb(51,51,51);font-size: 14pt;text-align: left;">${duedate1}</div>                                     </td>                                     <#if (damt1 > 0)>                                     <td>                                         <table id="dueamt1" width="100%" height="50" style="border-color: white;border-width: 0;border-collapse: collapse;">                                             <tr style="background-color: rgb(230,230,230);">                                                 <#if maxamount == 1>                                                     <td style="background-color: rgb(255,210,0);"></td>                                                 <#else>                                                     <td width="${damt1/maxbillvalue*100}%" style="background-color: rgb(191,191,191);"></td>                                                     <td class=""></td>                                                 </#if>                                                                               </tr>                                         </table>                                     </td>                                     </#if>                                 </tr>                                 </#if>                                 <#if damt2??>                                 <tr>                                     <td style="padding-bottom: 10px;" width="100">                                         <div style="color: rgb(51,51,51);font-weight: bold;font-size: 14pt;text-align: left;">$${damt2}</div>                                         <div style="color: rgb(51,51,51);font-size: 14pt;text-align: left;">${duedate2}</div>                                     </td>                                     <#if (damt2 > 0)>                                     <td>                                         <table id="dueamt2" width="100%" height="50" style="border-color: white;border-width: 0;border-collapse: collapse;">                                             <tr style="background-color: rgb(230,230,230);">                                                 <#if maxamount == 2>                                                     <td style="background-color: rgb(255,210,0);"></td>                                                 <#else>                                                     <td width="${damt2/maxbillvalue*100}%" style="background-color: rgb(191,191,191);"></td>                                                     <td class=""></td>                                                 </#if>                                             </tr>                                         </table>                                     </td>                                     </#if>                                 </tr>                                 </#if>                                 <#if damt3??>                                 <tr>                                     <td width="100px" style="padding-bottom: 10px;">                                         <div style="color: rgb(51,51,51);font-weight: bold;font-size: 14pt;text-align: left;">$${damt3}</div>                                           <div style="color: rgb(51,51,51);font-size: 14pt;text-align: left;">${duedate3}</div>                                     </td>                                     <#if (damt3 > 0)>                                     <td>                                         <table id="dueamt3" width="100%" height="50" style="border-color: white;border-width: 0;border-collapse: collapse;">                                             <tr style="background-color: rgb(230,230,230);">                                                 <#if maxamount == 3>                                                     <td style="background-color: rgb(255,210,0);"></td>                                                 <#else>                                                     <td width="${damt3/maxbillvalue*100}%" style="background-color: rgb(191,191,191);"></td>                                                     <td class=""></td>                                                 </#if>                                             </tr>                                         </table>                                     </td>                                     </#if>                                 </tr>                                 </#if>                             </#if>                         </table>                     </td>                 </tr>             </table> </body> </html> 


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -