Bonjour,
Je voudrais pouvoir encadrer un texte avec un cadre graphique.
Pour cela, je crée un tableau 3x3 et je découpe le cadre que j'ai dessiné en 8 images: coin haut-gauche, barre haut, coin haut-droite, ..., coin bas-droite.
J'ai toutes les difficultés à placer ces images correctement, même en respectant les dimensions de l'image.
[code]
<table width="700" border="0" cellpadding="0" cellspacing="0">
<tr height="4" >
<td width="5" background="/images/site/hg.png"></td>
<td width="400" background="/images/site/ht.png"></td>
<td width="5" background="/images/site/hd.png"></td>
</tr>
<tr>
<td width="5"background="/images/site/gc.png"></td>
<td width="400">Texte ici !</td>
<td width="5"background="/images/site/dt.png"></td>
</tr>
<tr height="4" >
<td width="5" background="/images/site/bg.png"></td>
<td width="400" background="/images/site/bs.png"></td>
<td width="5"background="/images/site/bd.png"></td>
</tr>
</table>
[/code]
Y-a-t-il un moyen plus commode ?