Bonjour,
J'ai fait un tableau avec des tailles de colonne fixes, mais IE ne respecte pas les tailles que je donne. Voici le résultat sous Mozilla : http://www.kwalai.com/page-Mozilla.jpg et le résultat sous IE : http://www.kwalai.com/page-IE.jpg (j'ai mis des bordures exprès pour qu'on voit la différence). Je n'ai aucune idée du pourquoi de ce décalage entre les cellules avec IE..
Voici mon code pour le tableau :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
53
54
55
56
57
58
59
60
61
62
63 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>#NOM_SITE_SPIP - Actualités</title> </head> <body background="Images/fond/monde.jpg"> <div id="corps"> <table width="625" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="20"><img src="Images/hautpourpregauche.jpg" alt="coin gauche" width="20" /></td> <td colspan="5" background="Images/pourpre2_.jpg"><div align="center" class="titre_blanc">Walaï ! Politique </div></td> <td width="20"><img src="Images/hautpourpredroit.jpg" alt="coin droit" width="20" /></td> </tr> <tr> <td colspan="7" class="texte" style="border:1px solid #710D29"> <BOUCLE_rub_politique(RUBRIQUES){titre=Politique}> <BOUCLE_art_politique(ARTICLES){id_rubrique}{par date}{inverse}{0,2}> <a href="actu_special.php3?id_rub=#ID_RUBRIQUE&id_article=#ID_ARTICLE" class="lien_spip">#TITRE</a> <p class="texte">#CHAPO</p> </BOUCLE_art_politique> </BOUCLE_rub_politique> </td> </tr> <tr> <td colspan="7"> </td> </tr> <tr> <td><img src="Images/hautpourpregauche.jpg" alt="coin gauche" width="20" /></td> <td width="262" background="Images/pourpre2_.jpg"><div align="center" class="titre_blanc">Walaï ! Culture </div></td> <td width="20"><img src="Images/hautpourpredroit.jpg" alt="coin droit" width="20" /></td> <td width="16" rowspan="2"> </td> <td width="20"><img src="Images/hautpourpregauche.jpg" alt="coin gauche" width="20" /></td> <td width="267" background="Images/pourpre2_.jpg"><div align="center" class="titre_blanc">Walaï ! Sport </div></td> <td><img src="Images/hautpourpredroit.jpg" alt="coin droit" width="20" /></td> </tr> <tr> <td colspan="3" class="texte" style="border:1px solid #710D29"> <BOUCLE_rub_culture(RUBRIQUES){titre=Culture}> <BOUCLE_art_culture(ARTICLES){id_rubrique}{par date}{inverse}{0,2}> <a href="actu_special.php3?id_rub=#ID_RUBRIQUE&id_article=#ID_ARTICLE" class="lien_spip">#TITRE</a> <p class="texte">#CHAPO</p> </BOUCLE_art_culture> </BOUCLE_rub_culture> </td> <td colspan="3" class="texte" style="border:1px solid #710D29"> <BOUCLE_rub_sport(RUBRIQUES){titre=Sport}> <BOUCLE_art_sport(ARTICLES){id_rubrique}{par date}{inverse}{0,2}> <a href="actu_special.php3?id_rub=#ID_RUBRIQUE&id_article=#ID_ARTICLE" class="lien_spip">#TITRE</a> <p class="texte">#CHAPO</p> </BOUCLE_art_sport> </BOUCLE_rub_sport> </td> </tr> [etc...] </table> </div> </body> </html>
Est-ce que quelqu'un aurait une idée ? Pitié ne me dites pas qu'il faut faire ça en CSS, parce que je ne sais pas du tout comment on fait, alors si vous avez une piste
Merci
Nine
Partager