Positioning of Radio answers

More
4 years 10 months ago #86120 by vadindot
vadindot created the topic: Positioning of Radio answers
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 9 months ago #86373 by tpartner
tpartner replied the topic: Positioning of Radio answers
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 9 months ago #86391 by vadindot
vadindot replied the topic: Positioning of Radio answers
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 9 months ago #86394 by tpartner
tpartner replied the topic: Positioning of Radio answers
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 9 months ago #86395 by vadindot
vadindot replied the topic: Positioning of Radio answers
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 9 months ago #86396 by tpartner
tpartner replied the topic: Positioning of Radio answers
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.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now