diff --git a/ippisite/ippidb/templates/compound_card.html b/ippisite/ippidb/templates/compound_card.html
index eef05b052ad00840795029d1f5288f98c0872fe6..d9698b7da6c97547fcdfe0deec84269f4cc61f94 100644
--- a/ippisite/ippidb/templates/compound_card.html
+++ b/ippisite/ippidb/templates/compound_card.html
@@ -97,51 +97,51 @@
               <tbody>
                 <tr>
                   <th scope="row">Global</th>
-                  <td class="{% if compound.lipinsky_global %}bg-success{% else %}bg-danger{% endif %}"></td>
-                  <td class="{% if compound.veber_global %}bg-success{% else %}bg-danger{% endif %}"></td>
-                  <td class="{% if compound.pfizer_global %}bg-success{% else %}bg-danger{% endif %}"></td>
+                  <td class="{% if compound.lipinsky_global %}table-success{% else %}table-danger{% endif %}" title="at least 3 criteria ok"></td>
+                  <td class="{% if compound.veber_global %}table-success{% else %}table-danger{% endif %}" title="RB and HBA+HBD or TPSA ok"></td>
+                  <td class="{% if compound.pfizer_global %}table-success{% else %}table-danger{% endif %}" title="AlogP and TPSA ok"></td>
                 </tr>
                 <tr>
                   <th scope="row">MW</th>
-                  <td class="{% if compound.lipinsky_mw %}bg-success{% else %}bg-danger{% endif %}" title="Molecular weight <= 500g/mol">{{ compound.molecular_weight }}g/mol</td>
-                  <td class="bg-light"></td>
-                  <td class="bg-light"></td>
+                  <td class="text-right {% if compound.lipinsky_mw %}table-success{% else %}table-danger{% endif %}" title="Molecular weight <= 500g/mol">{{ compound.molecular_weight }}g/mol</td>
+                  <td class="table-light"></td>
+                  <td class="table-light"></td>
                 </tr>
                 <tr>
                   <th scope="row">HBA</th>
-                  <td class="{% if compound.lipinsky_hba %}bg-success{% else %}bg-danger{% endif %}" title="HBA <= 10">{{ compound.nb_acceptor_h  }}</td>
-                  <td class="bg-light"></td>
-                  <td class="bg-light"></td>
+                  <td class="text-right {% if compound.lipinsky_hba %}table-success{% else %}table-danger{% endif %}" title="HBA <= 10">{{ compound.nb_acceptor_h  }}</td>
+                  <td class="table-light"></td>
+                  <td class="table-light"></td>
                 </tr>
                 <tr>
                   <th scope="row">HBD</th>
-                  <td class="{% if compound.lipinsky_hbd %}bg-success{% else %}bg-danger{% endif %}" title="HBD <= 5">{{ compound.nb_donor_h  }}</td>
-                  <td class="bg-light"></td>
-                  <td class="bg-light"></td>
+                  <td class="text-right {% if compound.lipinsky_hbd %}table-success{% else %}table-danger{% endif %}" title="HBD <= 5">{{ compound.nb_donor_h  }}</td>
+                  <td class="table-light"></td>
+                  <td class="table-light"></td>
                 </tr>
                 <tr>
                   <th scope="row">HBA + HBD</th>
-                  <td class="bg-light"></td>
-                  <td class="{% if compound.veber_hba_hbd %}bg-success{% else %}bg-danger{% endif %}" title="HBD + HBA <= 12">{{ compound.hba_hbd }}</td>
-                  <td class="bg-light"></td>
+                  <td class="table-light"></td>
+                  <td class="text-right {% if compound.veber_hba_hbd %}table-success{% else %}table-danger{% endif %}" title="HBD + HBA <= 12">{{ compound.hba_hbd }}</td>
+                  <td class="table-light"></td>
                 </tr>
                 <tr>
                   <th scope="row">AlogP</th>
-                  <td class="{% if compound.lipinsky_a_log_p %}bg-success{% else %}bg-danger{% endif %}" title="AlogP <= 5">{{ compound.a_log_p  }}</td>
-                  <td class="bg-light"></td>
-                  <td class="{% if compound.pfizer_a_log_p %}bg-success{% else %}bg-danger{% endif %}" title="AlogP <= 3">{{ compound.a_log_p  }}</td>
+                  <td class="text-right {% if compound.lipinsky_a_log_p %}table-success{% else %}table-danger{% endif %}" title="AlogP <= 5">{{ compound.a_log_p  }}</td>
+                  <td class="table-light"></td>
+                  <td class="text-right {% if compound.pfizer_a_log_p %}table-success{% else %}table-danger{% endif %}" title="AlogP <= 3">{{ compound.a_log_p  }}</td>
                 </tr>
                 <tr>
                   <th scope="row">TPSA</th>
-                  <td class="bg-light"></td>
-                  <td class="{% if compound.veber_tpsa %}bg-success{% else %}bg-danger{% endif %}" title="TPSA <= 140">{{ compound.tpsa  }}</td>
-                  <td class="{% if compound.pfizer_tpsa %}bg-success{% else %}bg-danger{% endif %}" title="TPSA <= 75">{{ compound.tpsa  }}</td>
+                  <td class="table-light"></td>
+                  <td class="text-right {% if compound.veber_tpsa %}table-success{% else %}table-danger{% endif %}" title="TPSA <= 140">{{ compound.tpsa  }}</td>
+                  <td class="text-right {% if compound.pfizer_tpsa %}table-success{% else %}table-danger{% endif %}" title="TPSA <= 75">{{ compound.tpsa  }}</td>
                 </tr>
                 <tr>
                   <th scope="row">RB</th>
-                  <td class="bg-light"></td>
-                  <td class="{% if compound.veber_rb %}bg-success{% else %}bg-danger{% endif %}" title="RB <= 10">{{ compound.nb_rotatable_bonds }}</td>
-                  <td class="bg-light"></td>
+                  <td class="table-light"></td>
+                  <td class="text-right {% if compound.veber_rb %}table-success{% else %}table-danger{% endif %}" title="RB <= 10">{{ compound.nb_rotatable_bonds }}</td>
+                  <td class="table-light"></td>
                 </tr>
               </tbody>
             </table>