There are two ways to hide elements with css:
The first option removes the element from the stream, and the second option hides the element, but still allows it to take up space in the stream.
, .
:
document.getElementById('inputID').style.visiblity = 'hidden';