View Full Version : auto expandable div within TR

Feb 29th, 2012, 01:56 PM
There to the left is a div with banners

http://agrozoo.net/jsp/PlantingCalendar.jsp?l2=en (http://agrozoo.net/jsp/PlantingCalendar.jsp)

<div style ="width:200px;height:300px;overflow: auto;">

in order to have nice vertical scroll bar I have to have div fixed height, can this be done without that, extending div auto to the bottom of table ?
That is, the number of rows displayed is not fixed.

Mar 1st, 2012, 06:03 AM
<div style ="width:200px;height:300px;overflow: auto;">

That's an invalid markup. You can't nest a <div> as the immediate child of <tr>