![]() |
|
|
|||||||
![]() |
HTML - Force table row to fixed height |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hi,
I want to force a table row to always use the exact same height, even if some data in a cell may produce additional lines which would normally cause the row to heighten. Instead I want this cell to be furnished with scrollbars (or the excessive data should simply vanish under the lower border of the cell) if there are additional lines. Is that doable? TIA for any hint on this! Regards DC DC |
|
|
|
|
#2 |
|
Posts: n/a
|
"DC" <> wrote in message news: oups.com... > Hi, > > I want to force a table row to always use the exact same height, even > if some data in a cell may produce additional lines which would > normally cause the row to heighten. Instead I want this cell to be > furnished with scrollbars (or the excessive data should simply vanish > under the lower border of the cell) if there are additional lines. > > Is that doable? TIA for any hint on this! > > Regards > DC > Hint: Search for "auto scroll". |
|
|
|
#3 |
|
Posts: n/a
|
Thank you, that helped. Since I also wanted the text to be centered
vertically, I ended up with something like this: <td> <div style="width:100%;height:39px;overflow:auto"> <table style="width:100%;height:100%"> <tr> <td valign="center" style="overflow:auto;"> <span>This text could be long and it is not supposed to heighten the row</span> </td> </tr> </table> </div> </td> richard wrote: > "DC" <> wrote in message > news: oups.com... > > Hi, > > > > I want to force a table row to always use the exact same height, even > > if some data in a cell may produce additional lines which would > > normally cause the row to heighten. Instead I want this cell to be > > furnished with scrollbars (or the excessive data should simply vanish > > under the lower border of the cell) if there are additional lines. > > > > Is that doable? TIA for any hint on this! > > > > Regards > > DC > > > > Hint: Search for "auto scroll". |
|