Check out my code in action on JsFiddle by visiting the following link: https://jsfiddle.net/2yvjm4h1/
Even after using display:none;
to hide my objects rather than visibility:hidden
before showing them with JavaScript, I still notice a significant amount of white space between the textarea element and the first file upload element. The whitespace disappears once all 10 file upload elements are added, but I'm looking for a solution to eliminate this white space from the beginning and have the page size adjust dynamically.
Any ideas on how to remove the initial white space?