I am trying to increase the height of a div element with the following code:
HTML:
<div id="expandbtn">more..</div> <div id="portfolio"><div class="itemweb" title="lol" rel="#derp"><div class="thumb"><img src="images/items/skills.jpg" title="Skills" rel="#derp"/></div>
script:
$('#expandbtn').click(function(){ $('#portfolio').animate({height:'72px'}, 500);});
CSS
#portfolio { width:914px; height:295px; margin:0 0 0 -8px; overflow:hidden;}
But that will not work. What am I doing wrong?
source share