Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET CSS
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 17-Jun-12 21:22pm
Comments
walterhevedeich at 18-Jun-12 3:28am
   
Which browser? And can you also post your HTML code?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
Comments
Manas Bhardwaj at 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)



Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 18 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100