Force linebreaks if no whitespace exists!? (Opera)

Hi guys…and gals…

Having some problems here…

Just started on a website that’s going to be in Thai…and Thai in writing doesn’t have any spaces in between the words, just the sentences…

And in IE, Firefox and Chrome that doesn’t become any problem…the line still breaks when it’s suppose to…ie when the width of the containing element is reach…

…but in Opera that doesn’t happen, it “needs” a white space to make a line break, so it breaks the design.

Anyone with any pointers or tips to this problem? :slight_smile:

Here are probably all the ways to do it… http://www.visibilityinherit.com/code/wrap-text.php

Out of all of those I’d use the HTML entitiy and the break-word. Combine them and it should be supported everywhere for you :slight_smile:

This is a known bug in Opera. I’d recommend waiting for it to be fixed. If you want to apply a workaround, it seems specifying ‘word-wrap:break-word’ works.