Résolu Comment aligner deux code en html ??

maxgame91

Membre
Inscription
11 Décembre 2013
Messages
148
Réactions
11
Points
3 636
bonjour a tous :)

j'aimerais aligner deux code html :

Code:
<iframe src="http://www.instant-gaming.com/affgames/igr121277/250x250" scrolling="no" frameborder="0" style="border: 1px solid #ccc; border-radius: 5px; overflow:hidden; width:250px; height:250px;" allowTransparency="true"></iframe>

Code:
<iframe src="http://www.abonnement-xbox-live.com/affgames/axlr121277/250x250" scrolling="no" frameborder="0" style="border: 1px solid #ccc; border-radius: 5px; overflow:hidden; width:250px; height:250px;" allowTransparency="true"></iframe>

Comment faire ?

Merci d'avance :)
 

JO|<ER

Membre
Inscription
25 Décembre 2013
Messages
313
Réactions
83
Points
3 771
au choix, tu peux aussi placer tes deux iframes dans un tableau et faire un text-align:center;
comme ceci:
<div style="text-align:center;">
<iframe src=" " scrolling="no" frameborder="0" style="border: 1px solid #ccc; border-radius: 5px; overflow:hidden; width:250px; height:250px;" allowTransparency="true"></iframe>

<iframe src=" " scrolling="no" frameborder="0" style="border: 1px solid #ccc; border-radius: 5px; overflow:hidden; width:250px; height:250px;" allowTransparency="true"></iframe>
</div>

ou alors si c pour un gros site utilise le CSS ce sera plus simple a t-y retrouver
 
Cette réponse a aidé l'auteur de cette discussion !

maxgame91

Membre
Inscription
11 Décembre 2013
Messages
148
Réactions
11
Points
3 636
au choix, tu peux aussi placer tes deux iframes dans un tableau et faire un text-align:center;
comme ceci:
<div style="text-align:center;">
<iframe src=" " scrolling="no" frameborder="0" style="border: 1px solid #ccc; border-radius: 5px; overflow:hidden; width:250px; height:250px;" allowTransparency="true"></iframe>

<iframe src=" " scrolling="no" frameborder="0" style="border: 1px solid #ccc; border-radius: 5px; overflow:hidden; width:250px; height:250px;" allowTransparency="true"></iframe>
</div>

ou alors si c pour un gros site utilise le CSS ce sera plus simple a t-y retrouver
merci beaucoup de ton aide :)
 
Haut