PDA

View Full Version : auto expandable div within TR



BubikolRamios
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)



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



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.

abduraooft
Mar 1st, 2012, 06:03 AM
<tr>
<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>