.numberbox { border: 1px solid #95B8E7; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; }