Check out the LimeSurvey source code on GitHub!

Positioning of Radio answers

More
4 years 4 months ago #86120 by vadindot
I am using Version 1.92+ Build 120919; and I am making a single answer radio question.

If the responses are short, for example Yes or No, the labels move under the radio buttons. Otherwise they are to the right of the radio buttons.

I am using the bluengray template. How can I get it so that all of my responses are to the right?

Please Log in to join the conversation.

More
4 years 4 months ago #86373 by tpartner
Can you please activate a sample for us to see?

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
4 years 4 months ago #86391 by vadindot
www.surveyservicedata.com/websurv/lim/in...hp?sid=79948&lang=en

there are 3 questions:

the first one has short answers, they appear underneath the radio button

the second one is the same answers, but with a bunch of embedded non-breaking spaces next to it... notice that it causes some weird spacing between rows

the third one has longer answers and works correctly


Thanks!

Please Log in to join the conversation.

More
4 years 4 months ago #86394 by tpartner
Try adding this to the end of template.css:
.list-radio .answers li label {
    display: inline;
}

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
4 years 4 months ago #86395 by vadindot
that worked, you sir both rock and also roll...
previously it had said:
display: inline-block;

I am curious, what is the difference?

Thanks again Tony!

Please Log in to join the conversation.

More
4 years 4 months ago #86396 by tpartner
The block part allows setting of width, height, etc. which sometimes the browser messes up if not explicitly defined.

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.

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