if you set a width on a table cell, it will automatically wrap the text within that cell.
if you don't specify a width, it will try to resize the cell around the content.
this will work cross browser.
you can do this either inline on the table cell, or with CSS.
eg:
table.classname td {
width: 100px;
}