$(document).ready(function(){
$("div").css({"height": '400'});
$("button").click(function(){
$("div").css({"height": 'auto', "padding-bottom": '20'});
});
});