graham01 Posted January 20, 2008 Share Posted January 20, 2008 Hello, this is quite hard to explain. I have an unset of tables that are echo'd on the screen using a while statement, there is a button on each table in which the page is refreshed and another row is put on the end containing a textarea. The textarea needs to be the same height of the table, I know this is really easy if the height of each table was set, but the height of the tables depend on what is in them.. so how do i do this? I just need it to find me the height of each table.. is this possible? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/86966-solved-help-with-table-heights/ Share on other sites More sharing options...
ratcateme Posted January 20, 2008 Share Posted January 20, 2008 you properly need javascript i think but i don't no what javascript you would use Scott. Quote Link to comment https://forums.phpfreaks.com/topic/86966-solved-help-with-table-heights/#findComment-444659 Share on other sites More sharing options...
graham01 Posted January 21, 2008 Author Share Posted January 21, 2008 yeah i know, can anyone help me with the code please? Quote Link to comment https://forums.phpfreaks.com/topic/86966-solved-help-with-table-heights/#findComment-445068 Share on other sites More sharing options...
Nhoj Posted January 21, 2008 Share Posted January 21, 2008 You could try adding style="height: 100%; min-height: 100%" to the textarea html input tag Quote Link to comment https://forums.phpfreaks.com/topic/86966-solved-help-with-table-heights/#findComment-445086 Share on other sites More sharing options...
hamza Posted January 21, 2008 Share Posted January 21, 2008 Show me your code then i will help you in your problem ---------------------------------------------------- Quote Link to comment https://forums.phpfreaks.com/topic/86966-solved-help-with-table-heights/#findComment-445091 Share on other sites More sharing options...
graham01 Posted January 21, 2008 Author Share Posted January 21, 2008 You could try adding style="height: 100%; min-height: 100%" to the textarea html input tag thanks, this works fine Quote Link to comment https://forums.phpfreaks.com/topic/86966-solved-help-with-table-heights/#findComment-445105 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.