On Friday 18 April 2008 8:13 pm Brian Ogden wrote:
> I have a column that I want to put into a scroll area in a table. I have
> attached the a screen shot. Depending on how long the notes are I want the
> column to scroll. How do I control the height of columns in a table. Here
> is my CSS: (The max-height does not seem to do much).
>
> td.NotesColumnStyle
> {
>     overflow: scroll;
>     max-height:50px;
> }
>
> /*RowStyles*/
> .RowStyle td, .AltRowStyle td, .SelectedRowStyle td, .EditRowStyle td
> /*Common Styles*/
> {
>     padding: 5px;
>     border-right: solid 1px #1d1d1d;
>     font-weight:bold;
>     max-height:50px;
> }

Attachments are not allowed, I'm afraid.  The max-height you are using is 
applying only to the individual rows, which are presumably not tall enough to 
exceed the 50px limit.  Overflow also only applies to block level or replaced 
elements.

What do you mean by wanting 'the column to scroll'? The cells in a table will 
always line up, so you cannot have one column scroll vertically independently 
of the others (if you want this, are you sure you should be using a table?).

Nicholas
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to