lunarmuun
05-07-2004, 12:35 AM
How do you get a tables' height to change in real-time when a user adjusts the browser window size horizontally???
For instance... I have a table with the width fixed to 100% and the height fixed to 25%. Obviously, in HTML, the table width will change when the browser width is changed and the table height will change when the browser height is changed...which is all well and good. BUT, if the user leaves the browser height stationary and only resizes the browser width(squeezes it), the table height will stay the same. I need it to change.
Although my knowledge is limited, it seems well within the scope of JavaScript.
I searched the forum/web with no success. Thanks for any help in advance!
For instance... I have a table with the width fixed to 100% and the height fixed to 25%. Obviously, in HTML, the table width will change when the browser width is changed and the table height will change when the browser height is changed...which is all well and good. BUT, if the user leaves the browser height stationary and only resizes the browser width(squeezes it), the table height will stay the same. I need it to change.
Although my knowledge is limited, it seems well within the scope of JavaScript.
I searched the forum/web with no success. Thanks for any help in advance!