1

I have two columns in my table with equal width (50%, 50%). I am showing search results URL in them. For big urls the columns are stretching and destroying the layout.

Any suggestion to the problem?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Subrat
  • 881
  • 1
  • 11
  • 19

2 Answers2

0

SEE How to wrap long lines without spaces in HTML?

These may help too:

Best word wrap algorithm?

Word-wrap in an HTML table

Community
  • 1
  • 1
micahwittman
  • 12,356
  • 2
  • 32
  • 37
0

You can set text-overflow:ellipsis; described here and/or use jQuery ellipsis plugin.

Chandra Patni
  • 17,347
  • 10
  • 55
  • 65