Check out the LimeSurvey source code on GitHub!

Align array answers

More
3 years 6 months ago #98054 by GreavakeToora
Hi

This is probably an easy one - but I can't seem to find the answer!

I want to align the answers in an array to the top of the cell - some answers have longer text, which as the div is vertically aligned to the bottom, means that the longer answers rise up from the others and look more prominent. I'm using an adapted Limespired template.

I tried vertically aligning them to the top of the thead div in the css but that doesn't seem to work?

I've attached an image of what I'm trying to achieve!


Attachment arrayimage.jpg not found

Attachments:

Please Log in to join the conversation.

More
3 years 6 months ago - 3 years 6 months ago #98056 by DenisChenu
Hello,

Look at template.css, you have to fix vertical-align : top for table.question thead th

Maybe for whole question, maybe you have already some vertical align on your css.

( Like holch say after: maybe it's better to do like this:
Don't known<br />0
Not important<br />1
2
..
)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 3 years 6 months ago by DenisChenu. Reason: Like Holch

Please Log in to join the conversation.

More
3 years 6 months ago #98057 by holch
There is for sure a way to do this with CSS. But honestly, I think the numbers should be as close as possible to the scale (radio buttons).

I would put the number at the end of the text with a line break before. This will for sure look a lot better and is a lot 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 to join the conversation.

More
3 years 6 months ago #98065 by GreavakeToora
Thanks guys

Very helpful - I think that's what I'll do!

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form