change the radio button in horizontal layout

More
7 years 6 months ago #42256 by chinglnc
chinglnc replied the topic: change the radio button in horizontal layout
Thanks a lot!! it works!!

How should I align my answer so that the radio button is aligned at the same time?

For instance, I want to align my "answer" in the centre,however, the radio button is still at its original position (left) even after I have aligned the "answer" to the centre.

Is it possible to do that?

Please Log in to join the conversation.

More
7 years 6 months ago #42264 by tpartner
tpartner replied the topic: change the radio button in horizontal layout
I'm afraid I don't understand. Screenshot?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
7 years 6 months ago #42271 by chinglnc
chinglnc replied the topic: change the radio button in horizontal layout
www.flickr.com/photos/49646445@N03/4584088877/

As you can see from the link, when i change the positon of the answer,
the radio button doesn't go together it.

How should i do that? I would like the radio button next to the answer all the time

Thanks

Please Log in to join the conversation.

More
7 years 6 months ago #42273 by holch
holch replied the topic: change the radio button in horizontal layout
I wouldn't recommend to center the answer options. It is always better to have all radio buttons in one vertical line, as it makes it a lot easier to click.

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
7 years 6 months ago #42275 by chinglnc
chinglnc replied the topic: change the radio button in horizontal layout
Is it possible to have them in one vertical line but in the centre?

Please Log in to join the conversation.

More
7 years 6 months ago #42280 by tpartner
tpartner replied the topic: change the radio button in horizontal layout
Not really because different length answers will force the radio buttons into different positions.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
7 years 6 months ago #42285 by holch
holch replied the topic: change the radio button in horizontal layout
Well, depending on the layout of your template, you could always play with the width of the element your question is in, or with margin and padding.

but depending on your template this might have an impact on all questions. If there is an id that css can adress, then this would be an option.

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
6 years 8 months ago #58442 by hjd
hjd replied the topic: change the radio button in horizontal layout
Hi tpartner,

Would you please let me know how to change the size of radio button in the list-radio and array?

I tried
.list-radio {
width: 5em;
height: 5em;
}

but it didn't work.

Thanks

Please Log in to join the conversation.

More
6 years 8 months ago #58443 by tpartner
tpartner replied the topic: change the radio button in horizontal layout
You cannot change the size of radio button (or checkbooxes) with CSS.

There is a workaround to replace them with images here but I don't know whether it works for 1.90.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 years 6 months ago #108242 by Foram
Foram replied the topic: change the radio button in horizontal layout
Hi,
Can you help me with check boxes? How to make check boxes horizontally aligned ?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!