I need some help removing spaces after hiding certain HTML elements. In context, I have a form, and I am using the GET method to send the results, so I need to hide certain fields. However, when I use:
<input type = "hidden"...>
It leaves a blank line rather than no lines.
Any ideas?
Here is a view of the problem: http://jsfiddle.net/zRcqB/
In your fiddle you are following the hidden inputs with
<br />tags. Remove those and you are good to go.See updated Fiddle: http://jsfiddle.net/iambriansreed/82ZwM/