[Html] problème de centrage

M

Membre supprimé 2

Invité
bonjour
j'ai beau vérifier ma source, je ne comprends pas pourquoi les 2 premières images de ma page ne sont pas centrées dans le cadre. Les autres images ont apparement le même code, et elle sont bien centrées...
frown.gif

merci de votre aide
 
Dernière édition par un modérateur:
Pris dans la source de ta page.

Ne marche pas :
<font color="blue">&lt;td bgcolor="#333333" height="150" width="203"&gt;&lt;a
href="http://-anonyme-.free.fr/vr.html"&gt;&lt;img border="0" height="120"
width="123" src="360vr.jpg"&gt;&lt;/a&gt;&lt;/td&gt;</font>

Marche :
<font color="blue">&lt;td bgcolor="#333333" height="150" width="203"&gt;
</font>&lt;div align="center"&gt;<font color="blue">&lt;a
href="http://-anonyme-.free.fr/contact.html"&gt;&lt;img border="0"
height="120" width="123" src="resume.jpg"&gt;&lt;/a&gt;</font>&lt;/div&gt;&lt;/td&gt;

À trois heures moins dix, tu devais être fatigué.
wink.gif


À+
 
Dernière édition par un modérateur:
ce code n'est pas très conforme du tout :

&lt;td bgcolor="#333333" height="150" width="203"&gt;
&lt;div align="center"&gt;&lt;a
href="http://-anonyme-.free.fr/contact.html"&gt;&lt;img border="0"
height="120" width="123" src="resume.jpg"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;

Préfère ce code à défaut de faire une vraie feuille de style :

&lt;td style="background:#333333 ; height:150px ; width:203px ; text-align:center ;"&gt;&lt;a
href="http://-anonyme-.free.fr/contact.html" title="blabla"&gt;&lt;img style="border:0 ; height:120px ; width:123px ;" src="resume.jpg" alt="blabla"&gt;&lt;/a&gt;
&lt;/td&gt;
 
Dernière édition par un modérateur: