Réduire
Brouillon
0
28/02/2013
0
CSS - propriétés width avec li - li width - width de li - taille de li
Mots-clés:
CSS
The width property doesn't apply to non-replaced inline elements <URL:http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-width>
Do either:
   li {
      display: table-cell;
      width: 10em;
   }
...or:
   li {
      display: block;
      width: 10em;
      float: left;
   }