probleme ... centrer ma banniere ....
19 messages
• Page 1 sur 2 • 1, 2
- kevon
- Nouveau WRInaute

- Messages: 9
- Inscription: 2 Déc 2007
probleme ... centrer ma banniere ....
Bonjour, je suis un mélanger dans tout se scriptage
et je voudrais que ma baniere soit centrer.
align=\"middle\" n'a pas l'air de marcher
voila le code:
echo " <td width=\"1000\" height=\"214\">
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>";
Merci !!!
align=\"middle\" n'a pas l'air de marcher
voila le code:
echo " <td width=\"1000\" height=\"214\">
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>";
Merci !!!
- kevon
- Nouveau WRInaute

- Messages: 9
- Inscription: 2 Déc 2007
ok j'ai trouver la solution mais maintenant, dans Fire fox sa ne se centre pas... tout est beau dans ie par exemple...
voilà mon code :
echo " <table width=\"1000\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>";
voilà mon code :
echo " <table width=\"1000\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>";
- Kijer
- WRInaute discret

- Messages: 133
- Inscription: 9 Sep 2006
et a al place de ce vilain tableau un simple
- Code: Tout sélectionner
<div align="center"></div>
- kevon
- Nouveau WRInaute

- Messages: 9
- Inscription: 2 Déc 2007
- Code: Tout sélectionner
echo "
<div align="center"></div>
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>";
cela ne fait que me donner une belle page blanche rien de plus ... Je ne sais pas si c'est juste moi qui ne c'est pas ou mettre cette ligne mais sinon ca ne fonctionne pas
-

Djoule_logo - WRInaute impliqué

- Messages: 712
- Inscription: 30 Mai 2007
essaye plutot comme ça
<div style="width: 100%; margin:auto;">
echo " <table width=\"1000\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>";
</div>
tu devrais etre tranquille pour FF et pour IE
<div style="width: 100%; margin:auto;">
echo " <table width=\"1000\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>";
</div>
tu devrais etre tranquille pour FF et pour IE
-

Djoule_logo - WRInaute impliqué

- Messages: 712
- Inscription: 30 Mai 2007
Et en enlevant le tableau, en ne conservant que la div?
-

dop20vt - WRInaute impliqué

- Messages: 586
- Inscription: 23 Juin 2007
Grosse banane
Kijer t'a donné la solution mais tu l'as mal mise en place !!
Kijer t'a donné la solution mais tu l'as mal mise en place !!
- Code: Tout sélectionner
echo "
<div align="center"> // </div> tu fermes le div alors que tu viens juste de l'ouvrir. Il doit englober tout ton code !!
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>
</div>"; // ici la fermeture du div
- kevon
- Nouveau WRInaute

- Messages: 9
- Inscription: 2 Déc 2007
je comprend vraiment pas quel est le probleme .... sa me remet encore la page blanche sous ie mais pas tester sur ff
mon site est http://www.teamace.qc.cx/ si vous voulez voir le probleme
mon site est http://www.teamace.qc.cx/ si vous voulez voir le probleme
-

dop20vt - WRInaute impliqué

- Messages: 586
- Inscription: 23 Juin 2007
Ola la trop complexe !! Déjà ton site est contenu dans une frame ce qui est loin d'être idéal !! Ensuite tu as fait un enchevetrement de table ... j'ai pas le courage de tout reconstituer !!
Peut etre juste une piste, tes table (en tout cas certains) ont une largeur de 1000px ... essaye avec un width="100%" ...
Peut etre juste une piste, tes table (en tout cas certains) ont une largeur de 1000px ... essaye avec un width="100%" ...
- elie33
- Nouveau WRInaute

- Messages: 29
- Inscription: 28 Aoû 2007
Pour centrer horizontalement un élément qui ne soit pas un bloc de text (auquel text-align suffie), il faut que le conteneur ai une taille fixé, en pourcentage en pixel/whatever,
et donner le style margin:0 auto. Ici c'est le auto qui vas centrer l'élément.
et donner le style margin:0 auto. Ici c'est le auto qui vas centrer l'élément.
- Code: Tout sélectionner
<div style="width:100%">
<p style="width:50%,margin:0 auto">
mon blablabla
</p>
</div>
- kevon
- Nouveau WRInaute

- Messages: 9
- Inscription: 2 Déc 2007
- Code: Tout sélectionner
echo " <div style="width:100%">
<p style="width:100%,margin:0 auto">
<table width=\"1000\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"1000\" height=\"214\" id=\"banniere\" align=\"middle\">
<param name=\"allowscriptAccess\" value=\"sameDomain\">
<param name=\"movie\" value=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"bgcolor\" value=\"#ffffff\">
<embed src=\"http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"1000\" height=\"214\" name=\"banniere\" align=\"middle\" allowscriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">
</object>
</td>";
</p>
</div>
page blanche dans ie alors si c'est vrais que dans firefox certain le vois correctement je commence a penser que les autres ont juste a pas venir
-

dop20vt - WRInaute impliqué

- Messages: 586
- Inscription: 23 Juin 2007
kevon a écrit:j'ai esseiller autre chose ... quelqu'un pourrait-il tester avec ff svp ?
Pas mieux !!
Essaye ca par contre :
- Code: Tout sélectionner
echo '<div align="center" style="width:100%"> // j'ai rajouté align="center" !!
<p style="width:100%,margin:0 auto">
<table width="1000" align="center" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="1000" height="214" id="banniere" align="middle">
<param name="allowscriptAccess" value="sameDomain">
<param name="movie" value="http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#ffffff">
<embed src="http://allstars.wizardcreation.com/Vimmy/themes/2K_BoB/images/header.swf" quality="high" bgcolor="#ffffff" width="1000" height="214" name="banniere" align="middle" allowscriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
</td></tr>
</table>
</p>
</div>';
19 messages
• Page 1 sur 2 • 1, 2
Lectures recommandées sur ce thème :
- Comment centrer cette bannière ?
- probléme pour centrer en CSS
- Problème pour centrer entre FF et IE
- Problème pour centrer une vidéo ?
- Problème de bannière
- Problème bannière publicitaire
- Problème avec Bannière en (swf)
- Problème de bannière google [Réglé]
- Problème avec l'affichage d'une bannière ?
- Un probleme avec une banniere Google adsense.
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités


