Trying to hide a button without affecting the spacing between buttons.
$(document).ready(function(){
$('#hide').click(function(){$('#btn').css('display','none');});
$('#show').click(function(){$('#btn').css('display','block');});
}
Explored using the display CSS property, but it doesn't seem to be working as expected (or maybe I'm misunderstanding the .css() function).
Check out the JS Fiddle Here