- Posts: 65
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Stop word from wrapping
- jimdavies
- Topic Author
- Offline
- Senior Member
Less
More
6 years 2 months ago #164367
by jimdavies
Stop word from wrapping was created by jimdavies
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:
The topic has been locked.
- blocka
- Offline
- Platinum Member
Less
More
- Posts: 409
- Thank you received: 34
6 years 2 months ago #164368
by blocka
Replied by blocka on 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; }
/* 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
The topic has been locked.
- holch
- Away
- LimeSurvey Community Team
Less
More
- Posts: 11655
- Thank you received: 2742
6 years 2 months ago #164448
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on 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 would force the line brake after the word anyway. Makes it much easier to read.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- jullenberg1
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
5 years 7 months ago #173098
by jullenberg1
Replied by jullenberg1 on 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").
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:
The topic has been locked.
- jullenberg1
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
5 years 7 months ago - 5 years 7 months ago #173117
by jullenberg1
Replied by jullenberg1 on 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!
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: 5 years 7 months ago by jullenberg1.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
5 years 7 months ago #173126
by jelo
You can see the different support by browsers here:
developer.mozilla.org/en-US/docs/Web/CSS...rowser_compatibility
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Stop word from wrapping
Browser is doing the hyphenation. You can e.g. set it off via tags.jullenberg1 wrote: Where does the word hyphenation functionality come from? Is it browser-dependent?
You can see the different support by browsers here:
developer.mozilla.org/en-US/docs/Web/CSS...rowser_compatibility
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: holch
The topic has been locked.