Dimensions cellule d'un tableau
bonjour,
j'ai un souci avec des dimensions de cellule, qui ne reste pas à la taille que je leurs met. ( les cellules noirs et c'est la hauteur de cellule que j'ai mis a 10 qui ne s'applique pas)
http://imageshack.us/photo/my-images/689/pliage.jpg
Code HTML :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
| <table width="580" border="0" cellspacing="0">
<tr>
<th height="10" colspan="4" scope="row" bgcolor="#D7E200" class="titre4">TITRE</th>
</tr>
<tr>
<td height="78" colspan="4" scope="row" class="texte1"><p>introduction</p></td>
</tr>
<tr>
<td height="150" rowspan="2" scope="row" bgcolor="#D7E200"><img src="****.jpg" width="120" height="112" /></td>
<td width="200" rowspan="2" scope="row" bgcolor="#D7E200" align="left" class="texte4"> - exemple <br />
- exemple <br />
- exemple</td>
<td width="58" rowspan="8"> </td>
<td width="362" height="10" bgcolor="#000000" class="texte5">titre intermédiaire 1</td>
</tr>
<tr>
<td class="texte1"><p>texte dexplication 1</p></td>
</tr>
<tr>
<td height="150" rowspan="2" bgcolor="#D7E200" scope="row"><img src="****.jpg" width="145" height="119" /></td>
<td width="200" rowspan="2" bgcolor="#D7E200" scope="row" align="left" class="texte4">- exemple<br />
- exemple<br />
- exemple</td>
<td width="362" height="10" bgcolor="#000000" class="texte5">titre intermédiaire 2</td>
</tr>
<tr>
<td class="texte1"><p>Texte intermédiaire 2</p></td>
</tr>
<tr>
<td height="150" rowspan="2" bgcolor="#D7E200" scope="row"><img src="****.jpg" width="143" height="119" /></td>
<td width="200" rowspan="2" bgcolor="#D7E200" scope="row" align="left" class="texte4">- exemple <br />
- exemple</th>
<td width="362" height="10" bgcolor="#000000" class="texte5">titre intermédiaire 3</td>
</tr>
<tr>
<td class="texte1">Texte intermédiaire 3</td>
</tr>
<tr>
<td height="150" rowspan="2" bgcolor="#D7E200" scope="row"><img src="****.jpg" width="135" height="110" /></td>
<td width="200" rowspan="2" bgcolor="#D7E200" scope="row" align="left" class="texte4">- exemple <br />
- exemple</td>
<td width="362" height="10" bgcolor="#000000" class="texte5">titre intermédiaire 4</td>
</tr> |
<tr>
Code:
1 2 3 4
|
<td class="texte1"><p>Texte intermédiaire 4</p></td>
</tr>
</table> |
CSS :
Code:
1 2 3 4 5 6 7
| .texte5 {
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align:center;
} |