Question design: sobre, simple, efficace.
Question code:
<table id="table_photo" width="456" height="201" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="107" height="50" rowspan="3">
<img src="images/spacer.gif" width="107" height="50" alt=""></td>
<td rowspan="3">
<img src="images/img1_02.jpg" width="158" height="50" alt=""></td>
<td width="190" height="24" colspan="2">
<img src="images/spacer.gif" width="190" height="24" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="24" alt=""></td>
</tr>
<tr>
<td width="31" height="25">
<img src="images/spacer.gif" width="31" height="25" alt=""></td>
<td>
<img src="images/img1_05.jpg" width="159" height="25" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="25" alt=""></td>
</tr>
<tr>
<td width="31" height="40" rowspan="2">
<img src="images/spacer.gif" width="31" height="40" alt=""></td>
<td rowspan="2">
<img src="images/img1_07.jpg" width="159" height="40" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="images/img1_08.jpg" width="265" height="39" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="39" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="images/img1_09.jpg" width="455" height="112" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="112" alt=""></td>
</tr>
</table>
Tout ca peut etre enlevé et remplacé par quelques lignes !
<style type="text/css">
ul.list li.li_promo a
{
color:red;
}
ul.list li.li_promo a span
{
color:black;
}
</style>
Pourquoi ne pas directement mettre ca dans la feuille de style externe ?
<!--[if IE]>
<link rel="stylesheet" type="text/css" media="screen" href="correction_IE.css" />
<! -->
Il y a certainement un moyen pour éviter une feuille de style spécial IE, surtout sur une mise en page simple comme la tienne.
Question éthique: il y a un forum pour les avis