Hey sobrein79,
Thanks a lot! I think we're almost there. After playing around with it for a bit here's what I got:
Styles:
Code:
.row
{
min-width: 600px;
min-height: 25px;
border: solid 1px #000000;
margin-bottom: 10px;
overflow: hidden; /*I'd prefer it not to scroll, this appears to do the same effect as 'overflow: auto;'*/
background-color: #e0e0e0; /*Matches '.first'*/
}
.cell
{
float: left;
min-height: 15px;
padding: 5px;
white-space: nowrap;
}
.first
{
min-width: 89px;
border-right: solid 1px #000000;
background-color: #e0e0e0;
}
.second
{
position: relative;
left: -1px;
min-width: 489px;
border-left: solid 1px #000000;
background-color: #ffffff;
}
HTML:
Code:
<div class="row">
<div class="cell first">First</div>
<div class="cell second">Second<br/>Second<br/>Second<br/>Second<br/>Second</div>
</div>
Some issues with this are:
1) If div.first were to become taller than div.second, the area underneath div.second would be gray. I think this is okay, though, since I don't expect div.first to ever be the taller one.
2) div.row still takes up as much width as it can, in spite of the 'min-width' attribute. =( I can fix this by adding 'position:absolute;' to div.row's style, but this is not ideal either since multiple div.row elements would appear on top of each other.