Width is calculated inside the container. Any padding or fields that you set will be added to the width.
Set the width to 23% and the margin to 1%
Left margin (1) plus width (23) plus right margin (1) = 25. The fact that four times on the page will contain up to 100.
source share