![]() |
Forum SELFHTML: Archives: |
|
|
Le message suivant est de: erwan,
erwandivers@yahoo.fr, 28. 01. 2003, 11:37
dans une cellule d'un tableau, je crée un autre tableau (pour encadrer mon texte) mais à ce moment là je n'arrive pas à étendre ce tableau sur toute la cellule (width=100% height=100% ne marche pas).
Comment faire ?
Le message suivant est de: Andreas Klatt,
aklatt@kisolutions.com, 28. 01. 2003, 16:15
Bonjour,
peut-être tu peux nous donner un peu de code pour comprendre mieux. Normalement ça devrait marcher.
Andreas Klatt.
»» dans une cellule d'un tableau, je crée un autre tableau (pour encadrer mon texte) mais à ce moment là je n'arrive pas à étendre ce tableau sur toute la cellule (width=100% height=100% ne marche pas).
»» Comment faire ?
Le message suivant est de: erwan,
erwandivers@yahoo.fr, 28. 01. 2003, 17:02
Dans le code suivant, la case Texte 8 n'est pas sur toute la hauteur de la cellule pourtant le tableau est bien defini avec height=100%, merci de m'aider
<html>
<head>
</head>
<body >
<table border=1 width=100% cellspacing=0 cellpadding=0>
<tr>
<td>
<table width=100% height=100% border=1>
<tr>
<td align=center>
Texte 7<br>
Texte 7<br>
Texte 7
</td></tr>
</table>
</td>
<td>
<table width=100% height=100% border=1 >
<tr><td align=center>
Texte 8
</td></tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Le message suivant est de: Andreas Klatt,
aklatt@kisolutions.com, 28. 01. 2003, 20:51
Bonjour,
la balise <table> ne connait pas l'attribute height, mais avec CSS ca devrait marcher:
<html>
<head>
<STYLE TYPE="text/css">
<!--
table { height: 100%;
width: 100%; }
-->
</STYLE>
</head>
<body>
<table border=1 cellspacing=0 cellpadding=0>
<tr>
<td>
<table border=1>
<tr>
<td align=center>Texte 7<br>
Texte 7<br>
Texte 7
</td>
</tr>
</table>
</td>
<td>
<table border=1>
<tr>
<td align=center>Texte 8</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Andreas Klatt.
»» Dans le code suivant, la case Texte 8 n'est pas sur toute la hauteur de la cellule pourtant le tableau est bien defini avec height=100%, merci de m'aider
»» <html>
»» <head>
»» </head>
»» <body >
»» <table border=1 width=100% cellspacing=0 cellpadding=0>
»» <tr>
»» <td>
»» <table width=100% height=100% border=1>
»» <tr>
»» <td align=center>
»» Texte 7<br>
»» Texte 7<br>
»» Texte 7
»» </td></tr>
»» </table>
»» </td>
»» <td>
»» <table width=100% height=100% border=1 >
»» <tr><td align=center>
»» Texte 8
»» </td></tr>
»» </table>
»» </td>
»» </tr>
»» </table>
»» </body>
»» </html>
© 1998-2004
selfhtml@fr.selfhtml.org