I found the text-wrap and overflow-wrap CSS 3 properties, but they don’t seem to do anything.
http://www.w3schools.com/cssref/css3_pr_text-wrap.asp
How to wrap text at hyphens within a table cell? Testing on Chrome 14.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You must use
table-layout:fixed. Tested in Chrome 15 and IE7.HTML:
CSS:
table { table-layout:fixed; width : 50px; border : 1px solid #000; word-wrap : break-word; } td { width : 50px; }JS Fiddle:
http://jsfiddle.net/9ZjCy/1/