| 
	
 | 
 Posted by Ben C on 01/14/08 11:33 
On 2008-01-14, richard <I.dont.care@do.you> wrote: 
> On Sun, 13 Jan 2008 16:50:45 -0600, Ben C <spamspam@spam.eggs> wrote: 
[...] 
>>You can usually "force" the exact height like this: 
>> 
>>    <td style="height: 200px"> 
>>        <div style="height: 200px; overflow: hidden"> 
>>            contents 
>>        </div> 
>>    </td> 
>> 
>>You don't have to use overflow: hidden of course-- overflow: scroll 
>>might be a better choice. 
> 
> I've seen a few examples of overflow:scroll, where the window created 
> was so small, that scrolling with the bar was almost impossible. One 
> must consider just how much data is going to be presented in that 
> window if scrolling is used. 
 
I agree. Overflow: scroll is fairly horrible. It's generally annoying 
to have independently scrolling sub-regions of the page. 
 
But overflow: hidden is a problem because the overflowing content is 
hidden. 
 
In general it's better to discourage overflow in the first place and use 
overflow: visible. 
 
But the OP asked for a way to make his cells 200px high regardless of 
their contents, and this is a way.
 
[Back to original message] 
 |