Hi, I find that this HTML snippet works:
{% if value == 0 %}
<div style="color: darkred; background-color: #C6EFCE; text-align:center">
<div style="color: #006100;">10 </div </div>
{% elsif value == 1 %}
<div style="color: darkred; background-color: #FFC7CE; text-align:center">
<div style="color: #9C0006;">-10 </div </div>
{% endif %}
But this does not -
{% if value == 0 %}
<div style="color: darkred; background-color: #C6EFCE; text-align:center">
<div style="color: #006100;"></div </div>
{% elsif value == 1 %}
<div style="color: darkred; background-color: #FFC7CE; text-align:center">
<div style="color: #9C0006;">-10 </div </div>
{% endif %}
That second snippet won’t show any formatting for cells where value == 0.
How do I keep the background formatting, but have the cell be blank for text? Thanks.