Le principe est le même que pour faire défiler un texte, donc en utilisant les balises <marquee></marquee> mais pour que le défilement se produise sur une image, il faut d'abord créer un fond ou "background".
Les lignes d'espace <center> </center> permettent de placer le texte au milieu de la photo. On peut donc en enlever ou en rajouter.
Ma direction est "left".
Mon "scrollamount" ou vitesse de défilement est 8.
CODE
<center>
<table border="0" cellpadding="0" cellspacing="0" width="300">
<tbody>
<tr>
<td><img height="1" src="http://data.over-blog-kiwi.com/1/30/51/51/20151224/ob_459d42_ob-74d16f82ad37fa1d4be43b63daededa9-aa.jpg" width="0"></td>
</tr>
<tr>
<td align="center" background="http://data.over-blog-kiwi.com/1/30/51/51/20151224/ob_459d42_ob-74d16f82ad37fa1d4be43b63daededa9-aa.jpg" height="450" valign="middle" width="300"><marquee direction="LEFT" onmouseout="function anonymous(){this.start()}" onmouseover="function anonymous(){this.STOP()}" scrollamount="8" scrolldelay="5" style="WIDTH: 600px; HEIGHT: 450px">
<center> </center>
<center> </center>
<center> </center>
<center> </center>
<center><em><span style="color:#FFFFFF;"><span style="font-size: 72px; line-height: 20px; text-align: initial; font-family: inherit;">LE PRESIDENT ET LES MEMBRES DU CONSEIL D'ADMINISTRATION </span></span><span style="color: rgb(85, 85, 85); font-family: inherit; font-size: 72px; line-height: 20px; text-align: initial;"> </span><span style="color:#FF0000;"><span style="font-family: inherit; font-size: 72px; line-height: 20px; text-align: initial;">DE L'AAPPMA DE CRECY LA CHAPELLE ET SES ENVIRONS </span></span></em><span style="color:#FFFFFF;"><span style="font-family: inherit; font-size: 72px; line-height: 20px; text-align: initial;"><em>VOUS SOUHAITENT UN JOYEUX NOËL, A VOUS ET A CEUX QUI VOUS SONT CHERS </em></span></span><span style="color: rgb(85, 85, 85); font-family: inherit; font-size: 72px; line-height: 20px; text-align: initial;"> <em></em></span><em style="font-size: 72px; line-height: 20px; text-align: initial; font-weight: normal;"><span style="color:#FF0000;">AINSI QU'UNE BONNE SAISON DE PÊCHE 2016</span></em></center>
<em> </em></marquee></td>
</tr>
</tbody>
</table>
</center>
RESULTAT
![]() |
commentaires