You need to sign in to do that
Don't have an account?

How to hide a tr and Div in email template?
i have below code
<tr style="display:{!if(!cx.Include_in_Confirmation__c == true, 'none', 'block') } ">
</tr>
but its not work as none is not implemented as i changed to table-column its work but not in IE .
please help me the better solution why none is not applied thr?
thanks
but in salesforce perview it works that tr is hide but not in gmail
Hi,
Try this. It may work.
String styleBlock = 'display:none';
if(!cx.Include_in_Confirmation__c == true){
styleBlock = 'display:block';
}
<tr style="styleBlock">
</tr>