Log in

View Full Version : word-wrap:break-word doesn't work in Firefox



NirupamaV
04-28-2009, 11:36 AM
Hi

Pls help me out!!

I have a text which is very lengthy..(for eg:"text123456734567") and i need to wrap the text.

css word-wrap:break-word; works in ie but not working in firefox.

Any solutions???? What is the css for making the text wrap in firefox???

Snookerman
04-28-2009, 11:51 AM
Take a look at this thread: http://www.dynamicdrive.com/forums/showthread.php?t=38363 (http://www.dynamicdrive.com/forums/showthread.php?t=38363)

traq
04-28-2009, 10:44 PM
What you need to do is write a script that inserts this:
​​& #8203;(remove the space after &)
after every character. This is a space that is invisible unless it is needed...

LOL, why not just type it in manually when you write the page :p

Snookerman
04-29-2009, 07:36 AM
LOL, why not just type it in manually when you write the page :p
I believe the op in that thread was dealing with content submitted by other users.

jscheuer1
04-29-2009, 08:21 AM
Supposedly that is buggy in IE 6 see:

http://www.quirksmode.org/oddsandends/wbr.html