Hi,
I have a table in a fixed width div. The table is set to width: 100% and displays all the way across the div. Fine.
My problem is that the first cell in each row contains text and if the text is too long it doesn't wrap when it should and forces the table, div (and the main page layout table that the div sits in) to stretch beyond their defined widths.
The text does wrap but not until after about 50 chars. Is there a way to force it to wrap so that the table stays within the defined width?
Cheers.
I have a table in a fixed width div. The table is set to width: 100% and displays all the way across the div. Fine.
My problem is that the first cell in each row contains text and if the text is too long it doesn't wrap when it should and forces the table, div (and the main page layout table that the div sits in) to stretch beyond their defined widths.
The text does wrap but not until after about 50 chars. Is there a way to force it to wrap so that the table stays within the defined width?
Cheers.