PDA

View Full Version : scrolling in a fixed cell (non-frames)??


Gio
06-30-2003, 03:45 PM
I am building a table with DHTML in each of the cells. I also need to be sure that the cells stay the same size and can scroll when information exceeds the cell size. For example, if you click to open a main topic in a navigation area, and it shows the subtopics that scroll beyond the screen limits. I can't use frames, it much be a fixed size table as I'm using interactive ActiveX objects in the other cells and, again, must use a fixed table size.

Does anyone have any helpful comments? Thanks in advance...

A1ien51
06-30-2003, 03:53 PM
place a div inside each of the cells and use this

<div style="overflow:auto;width:100px;height:100px;">
blah
</div>

See if that helps

I am not sure if you can just add that style tag to the cell, you might want to try it out.

Eric

beetle
06-30-2003, 03:53 PM
In your stylesheet

td {
overflow: auto;
}

Give that a shot first - before you try any JS fanciness.

Gio
06-30-2003, 03:58 PM
I got it goin the way I need. Thanks for the assistance.