Problème de code HTML sur IE pour un sondage

Fermé
gauswell - 1 déc. 2008 à 20:34
Archeus01 Messages postés 1571 Date d'inscription mercredi 3 octobre 2007 Statut Membre Dernière intervention 9 juin 2022 - 1 déc. 2008 à 21:47
Bonjour,
Voilà, je gère un blog pour un site de foot et dernièrement, j'ai voulu insérer un sondage dessus.
Quelques recherches effectuées sur le net, j'ai trouvé le site votations.com.
J'ai fait tout ce qu'il fallait et je l'ai inséré dans la colonne de gauche de mon blog.
Le problème que je recontre a lieu avec IE 7.0. Le sondage devrait faire 150 px de large (avec Firefox et Google Chrome, il n'y a aucun soucis), mais IE réagit comme si aucune limite de largeur n'était donnée :

Sous Firefox: http://img508.imageshack.us/img508/3746/sousfirefoxim6.jpg
Sous IE : http://img66.imageshack.us/img66/6895/sousieek7.jpg

Pourtant, il me semble que la consigne de largeur est bien donnée dans le code que j'ai collé ci-dessous:

<!-- START -- Get your free poll @ www.Votations.com -->
</form><form method=post action="http://www.votations.com/asp/vote.asp"><table bgColor=#000000 border=0 BORDERCOLOR=#ffffff cellPadding=0 cellSpacing=0 width=150><input type=hidden name="pollid" value=119313><input type=hidden name="lang" value="fr"><tr><TD bgColor=#000000><FONT color=#848443 face=verdana><CENTER>Objets aux couleurs du club</CENTER></FONT></TD></TR><tr><tr><td BACKGROUND=""><TABLE border=0 cellPadding=0><tr><td colspan=2><small><font color=#ffffff face=verdana size=1><b>Quel objet préfèreriez-vous acquérir aux couleurs du club?</b></font></td></tr><tr><td valign=top><INPUT name=vote type=checkbox value="1192379"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Autocollant</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192380"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Bic</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192381"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Bonnet</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192382"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Calendrier</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192383"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Casquette</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192384"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Chemise</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192385"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>K-Way</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192386"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Polo</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192387"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Porte-clés</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192388"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Sac à dos</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192389"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>T-Shirt</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192390"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Training</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192391"></td><td valign=top width="99%"><FONT face=verdana color=#ffffff size=2>Veste de coach</td></tr>
<tr><td valign=top><INPUT name=vote type=checkbox value="1192392"></td><td valign=top width="99%"><FONT face="verdana" color="#ffffff" size=2>Autre proposition<br> </font><input type="text" name="OtherField1192392" size="15" maxlength="255"></td></tr>
</SMALL></td></tr></TABLE><br></TD></tr><tr><td align=center><input type=submit name=voteon value="Voter"><br><font color=0000FF face=verdana><small><a href="http://www.votations.com/asp/resultsview.asp?pollid=119313?=fr"><font color=#848443>Voir les résultats</a></small></font><br><a "></a></td></tr></table></form>
<!-- END - Get your free poll @ www.Votations.com -->

J'espère quelqu'un pourra me dire pourquoi ça ne va pas et ce qu'il faudrait ajouter/modifier pour que ça s'affiche correctement sur IE.

D'avance merci!

Gauthier
A voir également:

1 réponse

Archeus01 Messages postés 1571 Date d'inscription mercredi 3 octobre 2007 Statut Membre Dernière intervention 9 juin 2022 452
1 déc. 2008 à 21:47
Je ne vais pas répondre à ta question mais pourquoi utilises-tu une table? Un div avec des <br /> suffirait... ou même des <li>
0