<div contenteditable style="border: 1px solid gray; min-width: 150px; display:inline-block; padding: 0 5px;" oninput="this.textContent = this.textContent">11</div>