Forum Moderators: open
One of the main arguments against it is that it is purely for visual presentation, therefore, it should be stylesheet controlled. But, there is no current CSS property that will accomplish this effect.
Has anyone else ever used it. I think it would be great for some of my pages with multi-column tables/divs that have wide headings.
Here's the browsers I tested it in:
IE 5,6 - yes but displays a space (can be hidden with CSS)
Mozilla (firefox, gecko) - yes
Opera 7 - yes
I'd be curious how it works in Safari...
If people want to use SHY, wbr or ​, I found a test page [quirksmode.org], which confirms that support is poor.
Perhaps it would be best if SHY was better supported, to use that instead."to use that instead" refered to SHY, and not "word-break-inside".)
seashell,
isn't it better to use "display: none;"? That way there's no need to set font-size. Good idea btw. :)
isn't it better to use "display: none;"? That way there's no need to set font-size.
"display:none;" causes the word break to not function, but "visibility:hidden;" just hides the funky character, if any. I use ​ and it sometimes shows up as a little rectange or a question mark.
On my style sheet, I even added a "letter-spacing: 0;" to rule out any chance of extra space being added.