Can you "fixate" computed height of an element?

Can you "fixate" computed height of an element?

Hi

can you somehow give a div which has a computed height, that same height - explicitly defined, so that when the contents of that div change, the div will remain it's height?

Like this:

$(".mydivs").css("height", $(".mydivs").height());

? That one didn't really work...

Thanks
Luke