Sorry - I didn't see all the <tr> tags.
You might want to check min-height and max-height for the top and bottom, to give you some adjustment space. I'm not sure it is possible.
You may also be able to use javascript to adjust the div dimensions at page load. Check out the window.screenX property (spelling might be off, go to w3schools.com).