I have a question on HTML tables.. I want my table rows to be of uniform width and height. Because when the size of the cell values vary, they ajust and it affects the uniformity. How do I make the cell values to be of constant height and width, unmindful of the cell value size? Any style attrbutes for this? I tried max-height & max-width.. Couldn't get it to work.. Please help..
Steve Renard
Ranch Hand
Joined: Apr 27, 2007
Posts: 66
posted
0
One more I missed. I also don't mind if the text in cells are partly cut off..
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Steve Renard
Ranch Hand
Joined: Apr 27, 2007
Posts: 66
posted
0
Thanks. The width portion of the problem is taken care of now.. But I have the row height auto adjusted for a large cell value.. So I still don't get the overall uniformity across the table. Suggestions please..
Oops!!! The table-layout: fixed; attribute allocates the table width equally to all the columns. But I have some columns which are wider than the others. Here there are unwanted spaces for a short cell text and clipped part for a wide cell text. So the non-uniformity problem is back again on the width part. Please help..
Steve Renard
Ranch Hand
Joined: Apr 27, 2007
Posts: 66
posted
0
In other words, I want to allocate cell width individually for each cell. Looking forward to your help..
Dan Drillich
Ranch Hand
Joined: Jul 09, 2001
Posts: 1121
posted
0
Steve,
Please use the width attribute for individual cells as you see in my post from July 26.
Cheers, Dan
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.