danielpaval
08-08-2007, 10:04 PM
Hello there.. :) This time Google didn't help me much on this:
There are several divs in a td, but only one of them is displayed at a time (display:inline), the other having display:none for style. It would be nice if the td (table) didn't resize when switching between divs, but keep the size of the first displayed div. Then, if a div was bigger it would become scrollable.
I tried lots of combinations of height, min-height, max-height, clientHeight, overflow:auto, table-layout:fixed, size capture on body load etc., but it didn't work out as planned..
Thanks for any advice.
Dani.
There are several divs in a td, but only one of them is displayed at a time (display:inline), the other having display:none for style. It would be nice if the td (table) didn't resize when switching between divs, but keep the size of the first displayed div. Then, if a div was bigger it would become scrollable.
I tried lots of combinations of height, min-height, max-height, clientHeight, overflow:auto, table-layout:fixed, size capture on body load etc., but it didn't work out as planned..
Thanks for any advice.
Dani.