Espace entre textes HTML/CSS

Fermé
shaytan - 3 mars 2009 à 20:53
picturart Messages postés 394 Date d'inscription lundi 10 novembre 2008 Statut Membre Dernière intervention 22 juin 2018 - 3 mars 2009 à 21:07
Bonjour,

Je cree un site et j'y affiche des photos. Je decale mes photos les unes par rapport aux autre avec un word-spacing. Mais je voudrais afficher un texte qui soit sous chaque photo mais centré par rapport a la photo!! Comment faire?
A voir également:

1 réponse

picturart Messages postés 394 Date d'inscription lundi 10 novembre 2008 Statut Membre Dernière intervention 22 juin 2018 76
3 mars 2009 à 21:07
<div style="height:100; width:100"><img src="tn.jpeg" style="height:100; width:100"><br><center>tontexte<center></div>

mets la largeur de ton image à la balise <div>
0

Discussions similaires