dans ce code html je voudrait que la pub 160600 soit a droite de limage png et non pas…
- User
dans ce code html je voudrait que la pub 160*600 soit a droite de limage png et non pas dessus mais sans sortir du conteneur :
.film-details { max-width: 600px; margin: 0 auto; text-align: center; } .poster img { max-width: 100%; margin-bottom: 20px; } h2 { color: white; font-size: 24px; } .description p { color: white; text-align: justify; } .link { margin-top: 20px; } .link a { display: inline-block; padding: 10px 20px; background-color: #6486ff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold; } .comment-text {text-align: center; margin-top: 20px; color: white; font-weight: bold; }
.gif-container {text-align: center; margin-top: 20px; }
.gif-container img { display: inline-block; max-width: 100%; max-height: 200px; }
.ad-banner { position: center; background-color: #fff; /* Couleur de fond de la publicité */ margin-bottom: 120px; }
.ad-banner iframe { position: absolute; left: 0; right: 0; margin: 0 auto; width: 728px; /* Définissez la largeur souhaitée pour les publicités / height: 90px; / Définissez la hauteur souhaitée pour les publicités */
} .image-ad-container { display: flex; align-items: center; justify-content: flex-end; position: absolute; }
.ad-container { width: 160px; height: 600px; position: absolute; top: 50%; transform: translateY(-50%); right: 0; }
</div> </div> <div class="ad-banner"> <script type="text/javascript"> atOptions = { 'key' : 'afb38244164d84843aa6a0911a2c6ba5', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.profitabledisplaynetwork.com/afb38244164d84843aa6a0911a2c6ba5/invoke.js"></scr' + 'ipt>'); </script> </div> <div class="description"> <p><strong>Canevas du film :</strong></p> <p>AIR dévoile le partenariat qui a changé la donne entre Michael Jordan, alors inconnu, et le tout jeune département basket de Nike, qui a révolutionné le monde du sport et de la culture avec la marque Air Jordan.</p> </div> - Assistant