layout inside a table cell
HTML
<table>
<tr>
<td>
<div id="button">
<button id="bt" type="button">X</button>
</div>
</td>
<td>
<input id="num" type="number" value="1"/>
<input type="button" value="aaa"/>
</td>
</tr>
</table>
CSS
#dv {float: left;}
#button {float: left;}