Stop word from wrapping

More
7 months 1 day ago #164367 by jimdavies
jimdavies created the topic: Stop word from wrapping
How do I stop an answer from splitting a word and wrapping it. I'd rather Strongly be on one line and Disagree be on another. Screen shot attached.
Attachments:

Please Log in or Create an account to join the conversation.

More
7 months 1 day ago #164368 by blocka
blocka replied the topic: Stop word from wrapping
Assuming you are using LS 2.x, you can disable this behaviour by adding the following CSS to the end of your custom template's template.css file:

/* customization - remove hyphenation */
#outerframeContainer { hyphens: none; word-wrap: none; }
* { -moz-hyphens:none; -ms-hyphens:none; -webkit-hyphens: none; hyphens:none; }
The following user(s) said Thank You: DenisChenu, jimdavies

Please Log in or Create an account to join the conversation.

More
7 months 13 hours ago #164448 by holch
holch replied the topic: Stop word from wrapping
Good solution, Blocka!

I would force the line brake after the word anyway. Makes it much easier to read.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
3 weeks 4 days ago #173098 by jullenberg1
jullenberg1 replied the topic: Stop word from wrapping
How can we stop word-wrapping with limeSurvey 3.0+?

At least for Finnish, word-wrapping tends to cut long words in arbitrary positions. It can make questions look messy or gibberish (see attachment with word "kohtalaisesti").
Attachments:

Please Log in or Create an account to join the conversation.

More
3 weeks 3 days ago - 3 weeks 3 days ago #173117 by jullenberg1
jullenberg1 replied the topic: Stop word from wrapping
Update:

Where does the word hyphenation functionality come from? Is it browser-dependent?

I just tried my survey with Firefox (instead of Chrome) and word wrapping hyphenation worked fine!
Last Edit: 3 weeks 3 days ago by jullenberg1.

Please Log in or Create an account to join the conversation.

More
3 weeks 3 days ago #173126 by jelo
jelo replied the topic: Stop word from wrapping

jullenberg1 wrote: Where does the word hyphenation functionality come from? Is it browser-dependent?

Browser is doing the hyphenation. You can e.g. set it off via tags.

You can see the different support by browsers here:
developer.mozilla.org/en-US/docs/Web/CSS...rowser_compatibility

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey
The following user(s) said Thank You: holch

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!