html - How to align text vertically in a table cell -


i text appear inline in table cell. however, text coming in single line whatever length of text. used text_align , padding too, did not help.

css:

table td { display: table-cell; vertical-align: top; } 

you can place line inside scrollbox , place scrollbox inside <td>scrollbox goes here content</td>.

scrollbox provide functionality wrap scroll,if required.

you can search google creating scrollbox


Comments