Afficher une annonce html sans avoir besoin de faire appel à une page HTML

2 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Afficher une annonce html sans avoir besoin de faire appel à une page HTML

Message par Solid6Snake Jeu 15 Oct 2015, 14:20

Détails techniques


Version du forum : phpBB3
Poste occupé : Administrateur
Navigateur(s) concerné(s) : Google Chrome
Personnes concernées par le problème : Tous les utilisateurs
Lien du forum : http://www.entraide-youtubers.com/

Description du problème

Bonjour, je viens de mettre en place ma seconde annonce au format html le problème est que j'ai forcément besoin de faire appel à une page html lors de mon nouveau message sinon ça s'affiche mais pas comme ça devrait être.

Mon but serait de faire afficher directement mon code dans un nouveau message en faite mais je n'y arrive pas..

Voilà mon code:

Code:
<table>
                                                                                                                                                                                                        
   <tbody>
                                                                                                                                                                                                               
      <tr>
                                                                                                                                                                                                                    
         <td>
                                                                                                                                                                                                                           
            <div style="height: 1742px; width: 620px; background: #141414; padding-top: 7px;">
                                                                                                                                                                                                                                                  
               <div style="height: 1730px; width: 600px; background: #A09E9E; margin-left: 7px; border: 3px solid #CACACA; text-align: center; font-size: 10px;">
                                                                                                                                      <img alt="" style="height: 240px; width: 600px; border-bottom: 3px solid #CACACA;" src="http://wosape.free.fr/saigneur/v5.png" />                                                                                                                   
                  <div style="height: 20px; width: 600px; background: #B3B3B3; border-bottom: 3px solid #CACACA; margin-top: -4px; text-align: center; font: 'arial'; font-size: 13px; font-style: italic; color: #FFFFFF; padding-top: 5px">
                                                                                                                                             La chaîne Oxygene337 | Call of Duty vidéos à l'honneur                                                                                                                     
                  </div><img alt="" style="border: 3px solid #B9B8B8; margin: 25px 0 0 25px;" src="http://r30.imgfast.net/users/3017/31/01/68/avatars/1455-44.png" />                                                                                                                   
                  <div style="height: 320px; width: 300px; background: #FFFFFF; border: 3px solid #CACACA; vertical-align: top; display: inline-block; margin: 25px 0 0 15px">
                                                                                                                                                                                                                                                                    
                     <div style="height: 20px; width: 300px; border-bottom: 1px solid #CACACA; background: #0066ff; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;">
                                                                                                                                                  LA CHAINE                                                                                                                       
                     </div>
                                                                                                                                                                                                                                                                    
                     <div style="height: 140px; width: 250px; overflow: auto; font-family:'Arial'; font-size: 10px; color: #545454; line-height: 2; text-align: left;">
                                                                                                                                                  ♦ <strong>Nom chaîne</strong> : Oxygene337 | Call of Duty vidéos<br />    ♦ <strong>Type de chaîne</strong> : Call of Duty (Gaming)<br />    ♦ <strong>Nombre d'abonnés</strong> : 61<br />    ♦ <strong>Membre YT depuis le</strong>: 16 janv. 2015<br />    ♦ <strong>Nombre de vues</strong> : 1 765 vues <br />  ♦ <a href="https://www.youtube.com/channel/UCEZqHbdfj7eJGRtBevzBa1A" target="_blank"><strong>Le chaîne du youtuber</strong></a>                                                                                                                       
                     </div>
                                                                                                                                                                                                                                                                    
                     <div style="height: 20px; width: 300px; border-bottom: 1px solid #CACACA; background: #0066ff; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;">
                                                                                                                                                  QUI ES-TU ?                                                                                                                       
                     </div>
                                                                                                                                                                                                                                                                    
                     <div style="height: 140px; width: 250px; overflow: auto; font-family:'Arial'; font-size: 10px; color: #545454; line-height: 2; text-align: left;">
                                                                                                                                                      ♦ <strong>Pseudo forum</strong> : Oxygene337<br />    ♦ <strong>Age</strong> : 17 ans<br />    ♦ <strong>Messages sur le forum </strong> : 370<br />    ♦ <strong>localisation</strong> : Centre<br />  ♦ <strong>Inscrit(e) le</strong> : 15/05/2015<br />                                                                                                                       
                     </div>
                                                                                                                                                                                                                                                                
                  </div>
                                                                                                                                                                                                                                                           
                  <table>
                                                                                                                                                                                                                                                                    
                     <tbody>
                                                                                                                                                                                                                                                                             
                        <tr>
                                                                                                                                                                                                                                                                                      
                           <td>
                                                                                                                                                                                                                                                                                               
                              <div style="height: 320px; width: 250px; background: #FFFFFF; border: 3px solid #CACACA; vertical-align: top; display: inline-block; margin: 25px 0 0 25px">
                                                                                                                                                                                                                                                                                                        
                                 <div style="height: 20px; width: 250px; border-bottom: 1px solid #CACACA; background:#0066ff ; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;">
                                                                                                                                                                          DESCRIPTION CHAINE                                                                                                                                   
                                 </div>
                                                                                                                                                                                                                                                                                                        
                                 <div style="height: 300px; width: 250px; overflow: auto; font-family:'Arial'; font-size: 12px; color: #545454; text-align: justify;">
                                                                                                                                                                          La chaîne Oxygene337 | Call of Duty vidéos est tenue par Grégoire, un jeune youtuber de 17 ans et joueur sur <strong>Playstation 4</strong>.                                             
                                    <div align="left">
                                                                                   Vous y trouverez du contenu divers mais essentiellement des vidéos sur la série Call of Duty, notamment du gameplay en multijoueur, en partie avec classement ou encore des montages.                                           
                                    </div>
                                                                                                                               
                                    <div align="left">
                                                                                     Il propose plusieurs <strong>playlists</strong> :             
                                       <div align="left">
                                                      [AW] Découverte du DLC Supremacy en live           
                                       </div>
                                                                
                                       <div align="left">
                                                      [AW] Les cartes multijoueur du DLC Ascendance           
                                       </div>
                                                                
                                       <div align="left">
                                                      [AW] Les cartes multijoueur du DLC Havoc           
                                       </div>
                                                                                                
                                    </div>
                                                                                                                               
                                    <div align="left">
                                                                                     Je vous laisse avec sa toute dernière vidéo de présentation de notre forum en gameplay s'il vous plaît.                                             
                                    </div>
                                                                                                                                                                                                                                                                                                                 
                                 </div>
                                                                                                                                
                              </div>
                                                                                                                             
                           </td>
                                                                                                                                                                                                                                                                                      
                           <td>
                                                                                                                                                              <object type="text/html" data="https://www.youtube.com/embed/ZBKDP4c9M0Y" style="width:270px;height:322px;margin-top:25px; border: 3px solid rgb(202, 202, 202);">                              </object>                                                                                                                             
                           </td>
                                                                                                                                                                                                                                                                                  
                        </tr>
                                                                                                                                                                                                                                                                         
                     </tbody>
                                                                                                                                                                                                                                                                
                  </table>
                                                                                                                                                                                                                                                           
                  <table>
                                                                                                                                                                                                                                                                    
                     <tbody>
                                                                                                                                                                                                                                                                             
                        <tr>
                                                                                                                                                                                                                                                                                      
                           <td>
                                                                                                                                                              <object type="text/html" data="https://www.youtube.com/embed/-q9VCYRsrVg" style="width:250px;height:320px;margin-top:24px; margin-left: 23px; border: 3px solid rgb(202, 202, 202);">                              </object>                                                                                                                             
                           </td>
                                                                                                                                                                                                                                                                                      
                           <td>
                                                                                                                                                                                                                                                                                               
                              <div style="height: 320px; width: 270px; background: #FFFFFF; border: 3px solid #CACACA; vertical-align: top; display: inline-block; margin: 25px 0 0 2px">
                                                                                                                                                                                                                                                                                                        
                                 <div style="height: 20px; width: 270px; border-bottom: 1px solid #CACACA; background: #0066ff; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;">
                                                                                                                                                                          Découverte du DLC Supremacy                                                                                                                                     
                                 </div>
                                                                                                                                                                                                                                                                                                        
                                 <div style="height: 300px; width: 270px; overflow: auto; font-family:'Arial'; font-size: 12px; color: #545454; text-align: justify;">
                                                                                                                                                                          La dernière carte de ce DLC Supremacy, mais surtout sa première vidéo en zombie sur ma chaîne.                                           
                                    <div align="left">
                                                                                 Il n'y aura pas de vidéos sur le dernier DLC, qu'il juge inutile vu que <strong>Black Ops 3</strong> sort prochainement.                                         
                                    </div>
                                                                                                                         
                                    <div align="left">
                                                                                 Un mode vague en quelque sorte très apprécié des joueurs de Call of Duty!                                         
                                    </div>
                                                                                                                         
                                    <div align="left">
                                                                                 Je vous laisse découvrir cette vidéo qui propose un bon commentary ainsi qu'un excellent gameplay, bravo à lui.                                         
                                    </div>
                                                                             
                                    <div align="left">
                                                         Il propose de le suivre sur <strong>Twitch</strong> (lives-streams) http://www.twitch.tv/oxygene337                 
                                    </div>
                                                                                                                                                                                                           
                                 </div>
                                                                                                                                                                                                                                                                                                    
                              </div>
                                                                                                                                                                                                                                                                                           
                           </td>
                                                                                                                                                                                                                                                                                  
                        </tr>
                                                                                                                                                                                                                                                                         
                     </tbody>
                                                                                                                                                                                                                                                                
                  </table>
                                                                                                                                                                                                                                                           
                  <table>
                                                                                                                                                                                                                                                                    
                     <tbody>
                                                                                                                                                                                                                                                                             
                        <tr>
                                                                                                                                                                                                                                                                                      
                           <td>
                                                                                                                                                                                                                                                                                               
                              <div style="height: 320px; width: 250px; background: #FFFFFF; border: 3px solid #CACACA; vertical-align: top; display: inline-block; margin: 25px 0 0 25px">
                                                                                                                                                                                                                                                                                                        
                                 <div style="height: 20px; width: 250px; border-bottom: 1px solid #CACACA; background: #0066ff; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;">
                                                                                                                                                                          Découverte DLC Skyrise                                                                                                                                     
                                 </div>
                                                                                                                                                                                                                                                                                                        
                                 <div style="height: 300px; width: 250px; overflow: auto; font-family:'Arial'; font-size: 12px; color: #545454; text-align: justify;">
                                                                                                                                                                          Sur cette dernière vidéo vous allez retrouver du gameplay découverte sur la dernière carte multijoueur de ce DLC Supremacy, Skyrise, en live.                                 
                                    <div align="left">
                                                                         Comme vous allez pouvoir le constater notre youtuber est assez bon dans son domaine c'est un joueur qu'il faut éviter de croiser sur un carte de <strong>Call of Duty</strong>!                                 
                                    </div>
                                                                                                       
                                    <div align="left">
                                                                         Je vous invite donc à découvrir plus en détails sa chaîne est je vous conseil même de vous abonner si vous souhaitez le suivre dans son aventure surtout avec le prochain COD qui ne devrait plus tarder.                 
                                       <div align="left">
                                                            Son <strong>Identifiant Playstation Network</strong> est Oxygene337                 
                                       </div>
                                                                                          
                                    </div>
                                                                                                                                                                                                         
                                 </div>
                                                                                                                                                                                                                                                                                                    
                              </div>
                                                                                                                                                                                                                                                                                           
                           </td>
                                                                                                                                                                                                                                                                                      
                           <td>
                                                                                                                                                              <object type="text/html" data="https://www.youtube.com/embed/rP5qLTSvnEY" style="width:270px;height:320px;margin-top:25px; border: 3px solid rgb(202, 202, 202);">                              </object>                                                                                                                             
                           </td>
                                                                                                                                                                                                                                                                                  
                        </tr>
                                                                                                                                                                                                                                                                         
                     </tbody>
                                                                                                                                                                                                                                                                
                  </table><a href="http://www.never-utopia.com/"></a>                                                                                                                 
               </div>
                                                                                                                                                                                                                              
            </div>
                                                                                                                                                                                                                                     
         </td>
                                                                                                                                                                                                                  
      </tr>
                                                                                                                                                                                                           
   </tbody>
</table>

Scoubifitz est déjà venu m'aider dans mon sujet précédent pour ma première annonce et cela fonctionne parfaitement alors je souhaiterais faire la même chose avec ma seconde annonce, c'est possible?

https://forum.forumactif.com/t381642-demande-aide-balise-html-message-annonce#3214755

Comment garder mon format annonce mais à poster sans envoyer ça avec une balise iframe en faite ^^

Bonne journée à tous et encore merci à celui ou celle qui passera par ici m'aider un peu Wink


Dernière édition par Solid6Snake le Ven 16 Oct 2015, 13:17, édité 1 fois
Solid6Snake

Solid6Snake
*****

Messages : 580
Inscrit(e) le : 07/11/2013

Solid6Snake a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Afficher une annonce html sans avoir besoin de faire appel à une page HTML

Message par Scoubifitz Ven 16 Oct 2015, 09:09

bonjour,

comme l'éditeur réagit à chaque retour à la ligne , l'apparence de votre annonce HTML sera déformée ...

pour éviter ce genre de souci , il faut éliminer les espaces inutiles , les indentations , et les retours à la lignes dans le code HTML placé dans un message .

pour votre code , une fois tout mis sur une seule ligne , ça donne ceci :

Code:
<table> <tbody> <tr> <td> <div style="height: 1742px; width: 620px; background: #141414; padding-top: 7px;"> <div style="height: 1730px; width: 600px; background: #A09E9E; margin-left: 7px; border: 3px solid #CACACA; text-align: center; font-size: 10px;"> <img alt="" style="height: 240px; width: 600px; border-bottom: 3px solid #CACACA;" src="http://wosape.free.fr/saigneur/v5.png"/> <div style="height: 20px; width: 600px; background: #B3B3B3; border-bottom: 3px solid #CACACA; margin-top: -4px; text-align: center; font: 'arial'; font-size: 13px; font-style: italic; color: #FFFFFF; padding-top: 5px"> La chaîne Oxygene337 | Call of Duty vidéos à l'honneur </div> <img alt="" style="border: 3px solid #B9B8B8; margin: 25px 0 0 25px;" src="http://r30.imgfast.net/users/3017/31/01/68/avatars/1455-44.png"/> <div style="height: 320px; width: 300px; background: #FFFFFF; border: 3px solid #CACACA; vertical-align: top; display: inline-block; margin: 25px 0 0 15px"> <div style="height: 20px; width: 300px; border-bottom: 1px solid #CACACA; background: #0066ff; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;"> LA CHAINE </div> <div style="height: 140px; width: 250px; overflow: auto; font-family:'Arial'; font-size: 10px; color: #545454; line-height: 2; text-align: left;"> ♦ <strong>Nom chaîne</strong> : Oxygene337 | Call of Duty vidéos<br/> ♦ <strong>Type de chaîne</strong> : Call of Duty (Gaming)<br/> ♦ <strong>Nombre d'abonnés</strong> : 61<br/> ♦ <strong>Membre YT depuis le</strong>: 16 janv. 2015<br/> ♦ <strong>Nombre de vues</strong> : 1 765 vues <br/> ♦ <a href="https://www.youtube.com/channel/UCEZqHbdfj7eJGRtBevzBa1A" target="_blank"><strong>Le chaîne du youtuber</strong></a> </div> <div style="height: 20px; width: 300px; border-bottom: 1px solid #CACACA; background: #0066ff; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;"> QUI ES-TU ? </div> <div style="height: 140px; width: 250px; overflow: auto; font-family:'Arial'; font-size: 10px; color: #545454; line-height: 2; text-align: left;"> ♦ <strong>Pseudo forum</strong> : Oxygene337<br/> ♦ <strong>Age</strong> : 17 ans<br/> ♦ <strong>Messages sur le forum </strong> : 370<br/> ♦ <strong>localisation</strong> : Centre<br/> ♦ <strong>Inscrit(e) le</strong> : 15/05/2015<br/> </div> </div> <table> <tbody> <tr> <td> <div style="height: 320px; width: 250px; background: #FFFFFF; border: 3px solid #CACACA; vertical-align: top; display: inline-block; margin: 25px 0 0 25px"> <div style="height: 20px; width: 250px; border-bottom: 1px solid #CACACA; background:#0066ff ; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;"> DESCRIPTION CHAINE </div> <div style="height: 300px; width: 250px; overflow: auto; font-family:'Arial'; font-size: 12px; color: #545454; text-align: justify;"> La chaîne Oxygene337 | Call of Duty vidéos est tenue par Grégoire, un jeune youtuber de 17 ans et joueur sur <strong>Playstation 4</strong>. <div align="left"> Vous y trouverez du contenu divers mais essentiellement des vidéos sur la série Call of Duty, notamment du gameplay en multijoueur, en partie avec classement ou encore des montages. </div> <div align="left"> Il propose plusieurs <strong>playlists</strong> : <div align="left"> [AW] Découverte du DLC Supremacy en live </div> <div align="left"> [AW] Les cartes multijoueur du DLC Ascendance </div> <div align="left"> [AW] Les cartes multijoueur du DLC Havoc </div> </div> <div align="left"> Je vous laisse avec sa toute dernière vidéo de présentation de notre forum en gameplay s'il vous plaît. </div> </div> </div> </td> <td> <object type="text/html" data="https://www.youtube.com/embed/ZBKDP4c9M0Y" style="width:270px;height:322px;margin-top:25px; border: 3px solid rgb(202, 202, 202);"></object> </td> </tr> </tbody> </table> <table> <tbody> <tr> <td> <object type="text/html" data="https://www.youtube.com/embed/-q9VCYRsrVg" style="width:250px;height:320px;margin-top:24px; margin-left: 23px; border: 3px solid rgb(202, 202, 202);"></object> </td> <td> <div style="height: 320px; width: 270px; background: #FFFFFF; border: 3px solid #CACACA; vertical-align: top; display: inline-block; margin: 25px 0 0 2px"> <div style="height: 20px; width: 270px; border-bottom: 1px solid #CACACA; background: #0066ff; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;"> Découverte du DLC Supremacy </div> <div style="height: 300px; width: 270px; overflow: auto; font-family:'Arial'; font-size: 12px; color: #545454; text-align: justify;"> La dernière carte de ce DLC Supremacy, mais surtout sa première vidéo en zombie sur ma chaîne. <div align="left"> Il n'y aura pas de vidéos sur le dernier DLC, qu'il juge inutile vu que <strong>Black Ops 3</strong> sort prochainement. </div> <div align="left"> Un mode vague en quelque sorte très apprécié des joueurs de Call of Duty! </div> <div align="left"> Je vous laisse découvrir cette vidéo qui propose un bon commentary ainsi qu'un excellent gameplay, bravo à lui. </div> <div align="left"> Il propose de le suivre sur <strong>Twitch</strong> (lives-streams) http://www.twitch.tv/oxygene337 </div> </div> </div> </td> </tr> </tbody> </table> <table> <tbody> <tr> <td> <div style="height: 320px; width: 250px; background: #FFFFFF; border: 3px solid #CACACA; vertical-align: top; display: inline-block; margin: 25px 0 0 25px"> <div style="height: 20px; width: 250px; border-bottom: 1px solid #CACACA; background: #0066ff; font-family: 'arial'; font-size: 18px; text-align: center; color: #545454;"> Découverte DLC Skyrise </div> <div style="height: 300px; width: 250px; overflow: auto; font-family:'Arial'; font-size: 12px; color: #545454; text-align: justify;"> Sur cette dernière vidéo vous allez retrouver du gameplay découverte sur la dernière carte multijoueur de ce DLC Supremacy, Skyrise, en live. <div align="left"> Comme vous allez pouvoir le constater notre youtuber est assez bon dans son domaine c'est un joueur qu'il faut éviter de croiser sur un carte de <strong>Call of Duty</strong>! </div> <div align="left"> Je vous invite donc à découvrir plus en détails sa chaîne est je vous conseil même de vous abonner si vous souhaitez le suivre dans son aventure surtout avec le prochain COD qui ne devrait plus tarder. <div align="left"> Son <strong>Identifiant Playstation Network</strong> est Oxygene337 </div> </div> </div> </div> </td> <td> <object type="text/html" data="https://www.youtube.com/embed/rP5qLTSvnEY" style="width:270px;height:320px;margin-top:25px; border: 3px solid rgb(202, 202, 202);"></object> </td> </tr> </tbody> </table> <a href="http://www.never-utopia.com/"></a> </div> </div> </td> </tr> </tbody> </table>

... à placer directement dans un message .
Hi
Scoubifitz

Scoubifitz
Membre actif

Masculin
Messages : 3687
Inscrit(e) le : 18/03/2008

http://scoubidous.superforum.fr/
Scoubifitz a été remercié(e) par l'auteur de ce sujet.
  • 0

Résolu Re: Afficher une annonce html sans avoir besoin de faire appel à une page HTML

Message par Solid6Snake Ven 16 Oct 2015, 13:14

Ok ok je comprend mieux du coup !

J'ai placé le code dans mon message ça fonctionne parfaitement, je ne sais vraiment pas comment je ferais sans l'équipe de forumactif sans tout ces petites astuces que beaucoup ne connaissent pas.

Encore une fois merci Scoubifitz thumright
Solid6Snake

Solid6Snake
*****

Messages : 580
Inscrit(e) le : 07/11/2013

Solid6Snake a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum