.products li{ width: 300px; border-right: solid; border-style: dashed; padding: 15px; } .quantity{ width: 55px; padding: 0px; float: left; } .add_to_cart_button{ width: 130px; font-size: 16px; margin-left: 15px; }