Retour à la définition de la propriété css width | J'ai vu une erreur dans cette page

Exemple de code détaillé de la propriété css width.

.identifiant {width:auto; }
<table border="1" cellspacing="0" cellpadding="0">
<tr>
<td style="width:auto; ">Exemple d'utilisation de width : auto</td>
</tr>
</table>
.identifiant {width:100px; }
<table border="1" cellspacing="0" cellpadding="0">
<tr>
<td style="width:100px; ">Exemple d'utilisation de width : 100px</td>
</tr>
</table>
Sur un bloc type inline : <br>
.identifiant {width:300px; border:1px solid red; }<br>
<span style="width:300px; border:1px solid red">Exemple d'utilisation de width : 300px; </span><br>
Sur un bloc type bloc :<br> .identifiant {width:auto; border:1px solid red; }
<div style="width:auto; border:1px solid red">Exemple d'utilisation de width : 300px; </div>
.identifiant {width:300px; border:1px solid red; }
<div style="width:300px; border:1px solid red">Exemple d'utilisation de width : 300px; </div>

Interprétation du code détaillé de la propriété css width par votre navigateur.

.identifiant {width:auto;}

Exemple d'utilisation de width : auto
.identifiant {width:100px;}
Exemple d'utilisation de width : 100px
Sur un bloc type inline :
.identifiant {width:300px;border:1px solid red;}
Exemple d'utilisation de width : 300px;
Sur un bloc type bloc :
.identifiant {width:auto;border:1px solid red;}
Exemple d'utilisation de width : 300px;
.identifiant {width:300px;border:1px solid red;}
Exemple d'utilisation de width : 300px;

Interprétation normal du code de la propriété css width (copie d'écran).

copie d'écran de l'affichage de la propriété css width