reformat boxes to stay in line across different browsers