If you add display: inline-block;
to your #each_box_holder
and remove float:left
from it, it will stay centered.
Note: change it from id
to class
. An id
should be used only when it is unique. In your case it is not, so using a class
is better and will save you a lot of trouble in the feature.