Modifications

Aide:Tableau pour expert

64 octets supprimés, 28 février 2011 à 13:46
m
bgcolor et ligne grise
|}
=== bgcolor et ligne grise classe odd ===''bgcolor'' permet de changer la couleur de fond d'une cellule. La propriété de style CSS "background-color:" ou "background:" a le même effet mais prévaut sur l’attributpermet de changer la couleur de fond d'une cellule. bgcolor="#''hex''"
background-color:#''hex''
background:#''hex''
|-
|
{| class="wikitable-center"
| style="background:#FF0000" | rouge
| style="background:#00FF00" | vert
|
<pre>
{| class="wikitable-center"
| style="background:#FF0000" | rouge
| style="background:#00FF00" | vert
<table class="wikitable-center"
<tr>
<td style="background:#FF0000">rouge</td> <td style="background:#00FF00">vert</td> <td style="background:#0000FF">bleu</td>
</tr>
</table>
|-
|
{| class="wikitable-center"
! scope=col | Titre 1
! scope=col style="background:#00FF00;" | Titre 2 vert
<table class="wikitable-center"
<tr>
<th scope=col>Titre 1</th> <th scope=col style="background:#00FF00;">Titre 2 vert</th>
</tr>
<tr>
<td>cellule 1</td> <td>cellule 2</td>
</tr>
</table>
<table class="wikitable-center">
<tr>
<td>Ligne 1</td> <td>fond blanc</td>
</tr>
<tr bgcolor="#E7E7E7">
<td>Ligne 2</td> <td>fond gris</td>
</tr>
<tr>
<td>Ligne 3</td> <td>fond blanc</td>
</tr>
<tr bgcolor="#E7E7E7">
<td>Ligne 4</td> <td>fond gris</td>
</tr>
</table>
Wgw
5 307
modifications