Souçis avec un code html.
Résolu
Sultop
Messages postés
46
Statut
Membre
-
Sultop Messages postés 46 Statut Membre -
Sultop Messages postés 46 Statut Membre -
Bonjour, J'ai un problème avec un code de défilement de photos avec liens trouvé sur internet. Il fonctionne à ma satisfaction sous Firefox mais pas avec Explorer. Je colle le script au cas où quelqu'un pourrait m'expliquer pourquoi ça ne fonctionne pas avec Explorer. Merci
<table style="text-align: left; width: 223px; height: 221px;"
border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td>
<center>
<marquee scrollamount="4" width="200"
height="200" direction="left"><a
href="http://lien-de-l-image.html"><img
style="border: 2px solid ; width: 200px; height: 200px;"
src="images/_produits/228.jpg" alt=""></a>
<a href="http://lien-de-l-image.html">
<img style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/7.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html">
<img style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/128.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html"><img
style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/91.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html">
<img style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/66.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html"><img
style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/125.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html">
<img style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/103.jpg" alt="Titre de l'image"></a></marquee>
</center>
</td>
</tr>
</tbody>
</table>
<table style="text-align: left; width: 223px; height: 221px;"
border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td>
<center>
<marquee scrollamount="4" width="200"
height="200" direction="left"><a
href="http://lien-de-l-image.html"><img
style="border: 2px solid ; width: 200px; height: 200px;"
src="images/_produits/228.jpg" alt=""></a>
<a href="http://lien-de-l-image.html">
<img style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/7.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html">
<img style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/128.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html"><img
style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/91.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html">
<img style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/66.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html"><img
style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/125.jpg" alt="Titre de l'image"></a>
<a href="http://lien-de-l-image.html">
<img style="border: 0px solid ; width: 200px; height: 200px;"
src="images/_produits/103.jpg" alt="Titre de l'image"></a></marquee>
</center>
</td>
</tr>
</tbody>
</table>
4 réponses
-
Bds,
a balise <marquee> est une balise propriétaire (introduite par Netscape). Elle
n'est donc pas du tout standard. Je suis étonné que FF la reconnaisse (ça vient
sans doute de sa parentée avec Mozilla, lui même ayant une parentée avec
Netscape). Pour IE, c'est normal.
=> pour que ça marche partout, utiliser du JS ou du flash.
ps : je suis étonné qu'il y ait encore des gens qui utilsent une balise aussi vieille... -
-
peut être parceque la balise <marquee> est périmé depuis ie6 .....
d'autant que normalement cette balise s'utilise pour du texte
ex: <marquee>blablabla</marquee> -