Je souhaite réaliser une mise en page de mail en 3 lignes : header,contenu,footer.
En théorie, mon code fonctionne, mais malheureusement, le background de la ligne contenu n'est pas afficher lorsque j'envoie le mail.
Voici le code :
Code : Tout sélectionner
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
.contenu {width:620px; padding:10px 20px 0; font-size:16px;}
.link {text-align:right;}
.link a {text-decoration:none; font-weight:bold; color:#000000;}
.link a:hover {color:#CACACA;}
hr {background:#CACACA; height:1px; border:none;}
.legal {color:#CACACA; font-size:12px;}
.legal a {text-decoration:none; color:#404040;}
.legal a:hover {text-decoration:underline;}
</style>
<title></title>
</head><body bgcolor="#FFFFFF" text="#000000">
<table border="0" cellpadding="0" cellspacing="0" width="620px">
<tbody>
<tr>
<td><img src="chemin/header.jpg" alt=""> </td>
</tr>
<tr>
<td class="contenu" background="chemin/contenu.jpg">
Mon message
bla
bla
bla
bla
bla
bla
bla
</td>
</tr>
<tr>
<td><img src="chemin/footer.jpg" alt=""> </td>
</tr>
</tbody>
</table>
</body>
</html>
Par contre lorsque j'écris le message, la prévisualisation affiche l'image, mais après de multiples essais, l'image n'apparait pas à la réception du mail.
Auriez vous une idée ?
<config>Windows 7 / Firefox 6.0.2</config>