<div align="center" class="tete_chapitre"><p> ton texte </p></div>
----- Original Message ----- From: "pyms" <[EMAIL PROTECTED]> To: <CyberCafe21@lists.exmachina.net> Sent: Saturday, January 22, 2005 12:06 AM Subject: [CC21] css - centrer une box > bonsoir, > > j'ai le css suivant : > .tete_chapitre { > font-family : verdana; > font-size: 24pt; > text-align : center; > vertical-align : middle ; > color : #3b5aa3 ; > background-color : white ; > border-style : solid ; > border-width : 3px; > border-color : #be0027; > padding-top : 2px; > padding-bottom : 2px; > width : 50%; > } > > le texte entre <p class="tete_chapitre">texte</a> est tjs aligne a gauche, > que faire pour qu'il soit centre. > > merci d'avance > > pyms > > > pyms > > -- > Cette liste vous est offerte par Emakina <http://www.emakina.com/> > Emakina: technologie et creativite au service de vos projets Web. > Desabonnement par mail : <mailto:[EMAIL PROTECTED]> > > > -- Cette liste vous est offerte par Emakina <http://www.emakina.com/> Emakina: technologie et creativite au service de vos projets Web. Desabonnement par mail : <mailto:[EMAIL PROTECTED]>