Tom's Guide > Forum > Programmation > Comment centrer une image en html
Mot :    Pseudo :           
 

Bonjour alors voila je vien de creer un blok html sur mon site et j'ai incerer un code pour mettre une image
code html : <a href="http://www.esl.eu/interface/rankbutton/click.php?c=1796090&l=884&t=/fr/cs/2on2/mr12/ladder/" target="_blank"><img src="http://www.esl.eu/interface/rankbutton/out.php?c=1796090&l=884" border="0" width="350" height="31"></a>

Mais l'image n'est pas centree alors ke dois je faire ca serait simpo de me l'ecrire en html directement mci :)

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.

tu as essayé ça ?

<center>ton code</center>

Répondre à windob

et je dois le mettre ou le center ???

Répondre à fb417508

j'ai mi comme ca :

<a href="http://www.esl.eu/interface/rankbutton/click.php?c=1796090&l=884&t=/fr/cs/2on2/mr12/ladder/" target="_blank"><img src="http://www.esl.eu/interface/rankbutton/out.php?c=1796090&l=884" border="0" width="350" height="31"></a>


mais ca marche tjrs po :s

Répondre à fb417508

<div style="text-align:center;">
<a href="..." target="_blank">
<img src="..." border="0" width="350" height="31" />
</a>
</div>

Nan ?

Répondre à OmaR

Merci Omar ca marche !!!

Répondre à fb417508
Tom's Guide > Forum > Programmation > Comment centrer une image en html
Aller à :

Il y a 2492 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.

Attention

Vous allez répondre sur un sujet resté inactif pendant plus de 6 mois.
Assurez-vous d'apporter des éléments nouveaux à la discussion avant de poursuivre.

Répondre Annuler
Liens