Tableau en div
blopss
-
kelsett Messages postés 353 Date d'inscription Statut Membre Dernière intervention -
kelsett Messages postés 353 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Désolé pour la répétition, j'apprécierais de l'aide pour convertir cette table en div
<table class="page" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width:8px;background-image:url('img/topleft.gif');background-color:transparent;background-repeat:no-repeat;"></td>
<td style="background-image:url('img/gradient.gif');background-color:transparent;background-repeat:repeat-x;padding-top:10px;">
test<br>
test2
<td style="width:8px;background-image:url('img/topright.gif');background-color:transparent;background-repeat:no-repeat;"></td>
</tr>
</table>
merci à l'avance.
Désolé pour la répétition, j'apprécierais de l'aide pour convertir cette table en div
<table class="page" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width:8px;background-image:url('img/topleft.gif');background-color:transparent;background-repeat:no-repeat;"></td>
<td style="background-image:url('img/gradient.gif');background-color:transparent;background-repeat:repeat-x;padding-top:10px;">
test<br>
test2
<td style="width:8px;background-image:url('img/topright.gif');background-color:transparent;background-repeat:no-repeat;"></td>
</tr>
</table>
merci à l'avance.
A voir également:
- Tableau en div
- Tableau word - Guide
- Tableau ascii - Guide
- Trier un tableau excel - Guide
- Tableau croisé dynamique - Guide
- Imprimer tableau excel sur une page - Guide
1 réponse
On ne peut pas tout convertir en div, enfin si ca doit être possible mais ça fait pas propre...
Le mieux que tu puisse faire c'est créer une div avec le background qui se répète puis deux div avec les images à l'intérieur, du style :
Le mieux que tu puisse faire c'est créer une div avec le background qui se répète puis deux div avec les images à l'intérieur, du style :
<div class="page" style="width:100%; background-image:url('img/gradient.gif');background-color:transparent;background-repeat:repeat-x;"> <div style="float:right;"><img src="./img/topleft.gif" alt="" /></div> <div style="float:left;"><img src="./img/topright.gif" alt="" /></div> <span style="padding-top:10px;">Contenu de cet espace</span> </div>