Click here to Skip to main content
15,891,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using css for word break of a long word as follows but the css does not work. How can I use a css for breaking word for a long word. My css code is as follows
word-wrap:break-word; but this does not work.
Posted
Comments
walterhevedeich 18-Jun-12 3:28am    
Which browser? And can you also post your HTML code?

1 solution

word-break only supports certain browsers. It is not supported by Firefox and Opera.

See http://www.w3schools.com/cssref/css3_pr_word-break.asp[^]
 
Share this answer
 
Comments
Manas Bhardwaj 18-Jun-12 3:57am    
correct +5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900