I use the following to replace hidden input since hidden input can not get focus:
<input style="height:0;width:0;padding:0;border:none" type="text" />
The input element has a certain spaces on screen. Look at debugger, it has zero size and no margin, no padding, no borders.
Thanks for help.