border problem with scale



  • In a container width:100px several units with properties float:left; border:1px solid black;width:23px; At 100 per cent of the size, we see four blocks in the row, but as soon as the blocks go, they get three in the row, why? How did I get the problem in the border, but how do I avoid it?



  • Try Border blocks. box-sizing: border-box; -moz-box-sizing: border-box; /* Для Firefox */ and width:25px




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2