0

I would like the text to appear inline in my table cell. However, the text is coming in the single line whatever be the length of text. I used text_align and padding too, but it did not help.

CSS:

table td { display: table-cell; vertical-align: top; }
10
  • 6
    Can you show us some of your code please? Jul 19, 2013 at 10:51
  • It seems your question has already been answered: stackoverflow.com/questions/6874635/…
    – morgano
    Jul 19, 2013 at 10:52
  • table td { display: table-cell; vertical-align: top; } Jul 19, 2013 at 10:53
  • thanks for that morgano, itried that too but i didnt get Jul 19, 2013 at 10:54
  • table td { display: table-cell; vertical-align: top; } Jul 19, 2013 at 10:55

1 Answer 1

-1

You can place your line inside ScrollBox and then place that ScrollBox inside the <td>ScrollBox goes here with content</td>.

ScrollBox will provide you the functionality to wrap as well as Scroll,if required.

You can search google for Creating a ScrollBox

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.