added margin to total and breaks in HTML