views:

36

answers:

2

Hi,

As the default behavior of a html table data is wrap the data right? But my table cell data does not wrap and when i add long text the whole table getting expand.

Thanks.

A: 

you can add the css style word-break: break-all;

Paul
+1  A: 

This one will help you...

How to prevent HTML tables from becoming too wide

Use table-layout:fixed and set a width for your table.

Leniel Macaferi
Great resource.
jessegavin