Sorry for my bad english.

I am using a <tbody> section and I had set height of Tbody .But When the number of rows are small the height of the row will increase.

I have tried to use max-height instead of height. But it doesn't works. I am using Mozilla Firefox.

Can anyone give a solution for this.

you tried to set heights to the rows? and you shouldnt use max-height for the tbody, cause you need min-height in the problem you have

Thanks for the replies.

I solved it by adding the following javascript

var tbody=document.getElementById('collection_body');
if(tbody.scrollHeight<=280) tbody.style.height="auto";