views:

189

answers:

2

In Firefox a '/' breaks a line, but in chrome the line continues. How can I tell chrome to allow a line break on '/'?

This is a problem for the middle table on

http://webnumbr.com/api

+3  A: 

You could surround the '/' with Unicode Zero-Width space characters. (For the links, don't do it for the hrefs)

See here: http://www.fileformat.info/info/unicode/char/200b/index.htm

Kyle Butt
+1  A: 

Use the CSS word wrap property:

word-wrap: break-word

Don't rely on special characters to break words.

James Jeffery
Why not? You use special characters to not-break. ( )
Kyle Butt