Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: align textbox with question

Re:align textbox with question 4 years 5 days ago #51008

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2852
  • Thank you received: 360
  • Karma: 125
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.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re:align textbox with question 4 years 5 days ago #51016

  • stanner
  • stanner's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
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.

limesurvey_float.jpg


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!
Last Edit: 4 years 5 days ago by stanner. Reason: picture did not attach properly
The administrator has disabled public write access.

Re:align textbox with question 4 years 5 days ago #51042

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.

Re:align textbox with question 4 years 4 days ago #51049

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
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}
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.170 seconds
Donation Image