fixed row height in the table
fixed row height in the table
vivekmd06
Posts: 7Questions: 0Answers: 0
Hi,
I wanted a fixed row height. However, each td element contains data which is overflowing, comes to the next line & consequently increases the height of the row. Is there a way to fix the height of the row.
I also tried to insert a div element inside the function & use the foll css:-
table#example tbody td div{
width:160px;
height:28px;
overflow:hidden;
word-wrap:break-word;
}
It did fixed the height & width of the div element inside the td element, but caused a break in the nTd variable & hence also the iRow variable remained undefined. Any workaround would be appreciated.
Thanks for looking.
I wanted a fixed row height. However, each td element contains data which is overflowing, comes to the next line & consequently increases the height of the row. Is there a way to fix the height of the row.
I also tried to insert a div element inside the function & use the foll css:-
table#example tbody td div{
width:160px;
height:28px;
overflow:hidden;
word-wrap:break-word;
}
It did fixed the height & width of the div element inside the td element, but caused a break in the nTd variable & hence also the iRow variable remained undefined. Any workaround would be appreciated.
Thanks for looking.
This discussion has been closed.
Replies
Allan