This is a discussion on "How to constrain the height of a dynamic table" within the Web Page Design section. This forum, and the thread "How to constrain the height of a dynamic table are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
How to constrain the height of a dynamic table
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
How to constrain the height of a dynamic table
Hello,
I'm having a bit of trouble keeping a table at a fixed height. What I have is a Small 200x80px table above my an input form. As users type data into the input form, javascript code dynamicly updates the contents of the table. I have the table width properly fixed, and the input fields have character limitations... however if a user inputs a lot of capital letters or other wide characters, the table automatically increases in height when the text wraps. It's pretty much neccessary that the text wraps for the middle lines of the table, and on the other two lines I have used the javascript to remove wrapping, but I never want the table to grow longer than 80px no matter how much is typed in the fields. Is there a way that I can constrain the table height? Thanks in advance! |
|
|
|
||||
|
Re: How to constrain the height of a dynamic table
CSS would help you with that. Maybe overflow: hidden?
__________________
CloudedVision, WebForumz Moderator Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
|
|
|||
|
Re: How to constrain the height of a dynamic table
Hi,
Thanks for the reply! I'm already using overflow: hidden in my stylesheet, and it's doing a fine job of hiding the horizontal overflow. It doesn't seem to effect the vertical overflow, but I'm looking for that exact same effect. Do you have any ideas on ways to do this? Thanks again! |
|
||||
|
Re: How to constrain the height of a dynamic table
you'll have to specify the height to cause verticle overflow
__________________
CloudedVision, WebForumz Moderator Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS - dynamic height div | Web Page Design | 39 | Dec 4th, 2007 15:33 | |
| Table height 100% | subhadip | Web Page Design | 4 | Sep 26th, 2007 14:15 |
| How to make a table height equal to the browser height ? | subhadip | Starting Out | 4 | Sep 20th, 2007 07:56 |
| Problems making the content area have a dynamic height | blizeH | Web Page Design | 41 | Aug 13th, 2007 01:19 |
| Table Height 100% only when refreshed…. | mrunclesam | Web Page Design | 9 | Dec 22nd, 2006 15:05 |