PDA

View Full Version : Fixing table cell height - dynamically resize column widths?


ijg0
04-01-04, 08:02 PM
I am not quite sure where this should go as I don't know how to solve it yet :D

I have a table here (http://gosh.ex.ac.uk/%7Ecs02ig) (notice the scolling section) The table size is fixed but the amount of text in each cell on the scrolling part of the table isn't. I want to make the rows of the table fixed height and have the table columns dynamically resize to fit the text. At the moment the rows change height causing the bar fixed column not to line up with the scolling part.

I think this can probably be fixed using some css but have no idea how.

Any suggestions?

Thanks in advance.

Bonzo
04-02-04, 01:32 AM
Here are some sites I found when looking into layout using css; maybe something here.

Anthony

http://www.positioniseverything.net/index.php

http://www.macloo.com/examples/css/float.htm

http://www.pmob.co.uk/faqcss/tutorial01/tt1.htm

P.S. I probably have more links but I need to sort my favorites !!!

vladimir_a
04-19-04, 12:34 PM
Hello, look at this script:
http://www.valdersoft.com/flexible_table.php

This is Flexible Table (JavaScript Class) developed by Valdersoft. Script allow to Resize Columns using "Drag to Resize" method, using Templates and features you are needed.

I think this script will interesting to everybody!