Topic: 'dynamic' div height |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: |
posted 11-14-2003 17:46
I'm working on a webpage, and have a table inside of a div, right now I have the div height set to about 300px, with overflow set to scroll. However, the table isnt allways 300px tall, and can leave alot of whitepsace between the table div, and the content below it. Was wondering is it possible to have the height goto the height of the table, upto X px, then if the content is larger, goto autoscroll? |
Maniac (V) Inmate From: under the bed |
posted 11-14-2003 18:12
CSS does have a max-height and max-width property, but unfortunately it is not supported by IE. |
Maniac (V) Inmate From: there...no..there..... |
posted 11-15-2003 03:45
could solve it maybe by just gettting rid of the table all together. Why is the table neccesary? Post a like to the page if you can and maybe by looking at the code someone can be of more assistance |
Maniac (V) Inmate From: under the bed |
posted 11-15-2003 04:02
It doesn't realy matter what element it is - the min-height would be what you want, but isn't supported by IE. |