var cw = $('.child').width();
$('.child').css({'height':cw+'px'});

Leave a Reply

Your email address will not be published. Required fields are marked *