Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Alignment of the array answer options

  • Stella6277
  • Stella6277's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 weeks ago #196676 by Stella6277
Alignment of the array answer options was created by Stella6277
Hello!

I have a problem with the alignment of the answer options in an array question.
The options range from 0% to 100% and I added "never" and "always" to the first and last option, to make it more understandable for participants.
Now the percentages don't align in the first presentation of the options, but do in the repeat headers (I'll attach some pictures to clarify).



I tried to align the answers differently in the html-editor, but nothing works for the first and repeat headers to look the same. Changing it, so the first header looks nice always messes up the repeat headers...
Is there a way to have consistently aligned headers (without letting go of the "never" and "always" ;) )?
I couldn't find any answers to it yet, or is it just a bug??

I appreciate any help with this! Thanks in advance!


Version 2.50+ Build 160606
The topic has been locked.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago - 4 years 2 weeks ago #196679 by holch
Replied by holch on topic Alignment of the array answer options
[strike]Put the words above the numbers. Not 100% what you want, but the numbers are aligned and it is a super simple and quick solution.[/strike]

OK, took me a bit to see what the problem is. My solution will solve one problem and create another one, I guess.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Last edit: 4 years 2 weeks ago by holch.
The following user(s) said Thank You: Stella6277
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196694 by tpartner
Replied by tpartner on topic Alignment of the array answer options
Add this to the end of your template.css file:

Code:
table.subquestion-list > thead > tr > th,
table.subquestion-list > tbody > tr.headings > th {
  vertical-align: top;
}


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Stella6277
The topic has been locked.
  • Stella6277
  • Stella6277's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 weeks ago #196707 by Stella6277
Replied by Stella6277 on topic Alignment of the array answer options
Thank you!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose