Check out the LimeSurvey source code on GitHub!

align textbox with question

6 years 4 months ago #51008 by holch
Hey Mazi!

Good out of the box thinking! There is a prefix question attribute for the short text question type.

How he only needs to aline two questions via float.

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.

6 years 4 months ago - 6 years 4 months ago #51016 by stanner
Mazi and Holch,
Thanks again for your help on this, I have the questions aligning properly.
Here is the per question css to get this working properly
#question1 {
width:50%;
float:left;
}
 
#question2 {
width:50%
}
 
#question3 {
width:50%;
float:left;
}
 
 
#question4 {
width:50%
}
I have just a few other UI issues on this can I can't quite figure out.
I have attached a picture that shows what we are looking at.



Here are the things that I would like to change
1. the asterisk indicating the question is mandatory is up above the question and is on a grey backgroun.
I know that I can set the background-color to transparent, but how would I do the following: remove question div so that the asterisk is right next to the previx, remove help div so there is not extra spacing at the bottom, remove the border around the question.

Thanks again!
Attachments:

Please Log in to join the conversation.

6 years 4 months ago #51042 by Mazi
Thanks for posting your solution.

Can you please add your solution to the workaround section of our manual so other users can beneffit from your solution, too!?

Thanks!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

6 years 4 months ago #51049 by DenisChenu
stanner wrote:

1. the asterisk indicating the question is mandatory is up above the question and is on a grey backgroun.
I know that I can set the background-color to transparent, but how would I do the following: remove question div so that the asterisk is right next to the previx, remove help div so there is not extra spacing at the bottom, remove the border around the question.

Thanks again!

For the asterisk, maybe someting like that:

Look where is your question (.questiontext for the example)

#question1 .questiontext{width:2em;float:left;background:#FFF}

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).

Please Log in to join the conversation.

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