Reputation: 8222
I'm working on my portfolio, and I'm making it all on one page, javascript based. My problem is, if I load in a different page, the div containing the content of the page doesn't resize.
http://portfolio.theadamgaskins.com/Portfolio/ Click "Death Worm" to see what I mean.
So, how do I make a div resize vertically to fit its content?
Upvotes: 0
Views: 1657
Reputation: 38492
It should by default. Use Firefox with the Firebug extension, or Google-chrome, to debug dynamic pages, using the right-click "inspect element" feature.
Upvotes: 0
Reputation: 9007
jQuery has nice tools to let you resize whatever you want: http://api.jquery.com/resize/
Although you don't explicitly set the #pageContent
height - I think whatever curvyCorners is - does
Upvotes: 2