Où insérer le code d'1 diaporama ds mon site

Fermé
Jacques - 24 avril 2010 à 11:56
avion-f16 Messages postés 19246 Date d'inscription dimanche 17 février 2008 Statut Contributeur Dernière intervention 21 avril 2024 - 24 avril 2010 à 12:20
Bonjour,

J'ai bien comprit comment créer un diaporama en flash... j'ai le code pour le mettre en place. Mon dernier problème c'est que je ne sais pas où insérer ce code. C'est une question débile mais je suis un graaaand débutant.

En gros, j'ai un template, je veux remplacer une photo sur ce template par le diapo... comment faire ?

Voici le code où est la photo dans la feuillle style.CSS

/*----TOP PANEL----*/
#topPan{width:975px; height:450px; background:url(images/topbg.jpg) 0 0 no-repeat; position:relative; margin:0 auto;}

#topPan p.more{padding:-1px 0 0; font-size:13px; font-weight:bold;}
#topPan p.more a{width:130px; height:23px; display:block; background:url(images/viewmore.gif) 0 0 no-repeat #EFBA00; color:#A98401; line-height:21px; text-decoration:none; margin:0 0 0 56px; padding:0 0 0 35px;}
#topPan p.more a:hover{display:block; background:url(images/viewmore-hover.gif) 0 0 no-repeat #EFBA00; color:#A98401; text-decoration:none;}

#topPan img.logo{width:510px; height:95px; position:absolute; top:10px; left:10px;}
#topPan h1{width:436px; height:250px; display:block; background:url(images/diapo.gif) 0 0 no-repeat #F3F3F3; color:#fff; position:absolute; top:114px; left:0px; font-size:12px; font-weight:bold; line-height:100px; padding:100px 186px 0 53px;}
#topPan h2{width:245px; height:25px; display:block; position:absolute; bottom:0px; left:53px; background:#fff; color:#B88F00; font:22px/25px Georgia, "Times New Roman", Times, serif;}

C'est la truc en gras que je veux remplacer par un diapo...

Merci pour vos réponses

A voir également:

1 réponse

avion-f16 Messages postés 19246 Date d'inscription dimanche 17 février 2008 Statut Contributeur Dernière intervention 21 avril 2024 4 497
24 avril 2010 à 12:20
Tu ne peux pas mettre une animation Flash en CSS, il faut l'intégrer dans ton HTML.
0