Je dois faire une newsletter html et j'ai bien compris qu'il était préférable de tout coder sous forme de tableaux avec du style en ligne, mais j'ai un problème pour certains liens.
Après avoir fais quelques recherches j'ai cru comprendre qu'on ne pouvait pas faire de lien sur une cellule. J'ai donc voulu faire le lien sur l'image qui est en background dans ma ligne mais ça ne fonctionne pas. Le lien se fait seulement sur l'image présente dans une des cellules de cette même ligne.
Où puis-je placer mon <a href=...> pour que le lien soit actif sur toute la ligne ?
Voici l'extrait du code en question :
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="210" align="left" style="border-top-width: 2px; border-
top-style: solid; border-top-color: #ffffff; border-bottom-width: 3px; border-bottom-style: solid; border-
bottom- color: #ffffff;">
<tbody>
<tr>
<td valign="middle" height="49" width="210" bgcolor="#c2cad5" background="images/sidebar-title-2.jpg"
style="vertical-align:middle; border-left-width: 1px; border-left-color: #203b8c; border-left-style:
solid; border-right-width: 1px; border-right-color: #203b8c; border-right-style: solid; border-bottom-
width: 1px; border-bottom-color: #203b8c; border-bottom-style: solid; border-top-width: 1px; border-top-
color:#203b8c; border-top-style: solid;">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%">
<tbody>
<tr>
<td valign="top">
<h3 style="margin:0; margin-left: 17px; padding:0; font-size: 18px; font-weight: normal;
color:#ebeef1;">
<a style="margin:0; padding:0; color:#ebeef1; ">Inscription</a>
</h3>
</td>
<td valign="top" width="48">
<img src="images/forward-email.png" style="margin: 0; display: block; margin-left: 5.5px;" />
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
Je vous remercie d'avance




Haut












