- Messages : 6
- Remerciements reçus 0
Remove excess space in question text - help!
- wian1
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
There are lots of great changes, but one problem I've found is that all questions are now displayed with lots of extra white space.
More precisely, under each question text is shown the answer options (such as text box, radio buttons, numeric input, etc). For all of my questions, these answer options have a large amount of white space above and below. When I compare to LS1.71 the space is a lot more. It looks like there are extra <b> or <p> tags somewhere.
I have tried all sorts of things to remove the space.
i) I am using a modified template based on 'basic', but I still get the same space issues when using other templates (such as default, bluengrey, clear_logo).
ii) I have tried using Firebug to work out what is causing the space, but cannot locate anything helpful
iii) I have switched off the html editor and have checked that I have no extra tags in my question text.
Has anyone else had a similar issue (can't find anything in the forums) or have any suggestions about how to reduce this white space?
Thanks.
Connexion ou Créer un compte pour participer à la conversation.
- Messages : 8548
- Karma: 621
- Remerciements reçus 2620
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Connexion ou Créer un compte pour participer à la conversation.
- wian1
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
- Messages : 6
- Remerciements reçus 0
Connexion ou Créer un compte pour participer à la conversation.
- Messages : 8548
- Karma: 621
- Remerciements reçus 2620
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Connexion ou Créer un compte pour participer à la conversation.
- wian1
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
- Messages : 6
- Remerciements reçus 0
What I've done instead is export a question group and imported it into the Demo site. The test survey is called "white space test" and I have used the same template that my site is based on - "basic". This test survey displays the extra white space in the same way that my survey does.
Address of survey is Demo.limesurvey.org/index.php?sid=97895&newtest=Y&lang=en
Connexion ou Créer un compte pour participer à la conversation.
- Messages : 8548
- Karma: 621
- Remerciements reçus 2620
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Connexion ou Créer un compte pour participer à la conversation.
- tammo
-
- Hors Ligne
- Official LimeSurvey Partner
-
- Messages : 644
- Karma: 18
- Remerciements reçus 132
Tammo ter Hark at Tools for Research
Proud developers of the TFR Responsive Limesurvey theme
toolsforresearch.com/limesurvey-responsive-template
Connexion ou Créer un compte pour participer à la conversation.
- wian1
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
- Messages : 6
- Remerciements reçus 0
The space could well be a padding issue in CSS, but I've searched (in template.css) and tried all sorts of changes but so far with no luck.
Any ideas?
Connexion ou Créer un compte pour participer à la conversation.
- Messages : 8548
- Karma: 621
- Remerciements reçus 2620
I am happy to test it but don't have time to create matching test surveys.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Connexion ou Créer un compte pour participer à la conversation.
- Mazi
-
- Hors Ligne
- Official LimeSurvey Partner
-
- Messages : 2927
- Karma: 245
- Remerciements reçus 240
2. Can you reproduce the problem using the default template?
3. The space of the bottom, will it stay the same if you enter some question help text?
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
Connexion ou Créer un compte pour participer à la conversation.
- wian1
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
- Messages : 6
- Remerciements reçus 0
I have tried to clear cache, but this makes no difference. Also, viewing the survey in FF(3.6) or IE(7) gives similar results (the white space is slightly bigger in FF). If I add Help text, the space increases. I have used the BASIC template.
I have attached here an extract from the survey I'm working on. I've tried uploading it to the Demo site, and with BASIC template selected it shows the white space I'm referring to. Hope this makes clear what I'm trying to modify.
Connexion ou Créer un compte pour participer à la conversation.
- Messages : 8548
- Karma: 621
- Remerciements reçus 2620
In question.pstpl, change line 5:
<table width="100%" cellspacing="0" cellpadding="8" border="0">
To:
<table width="100%" cellspacing="0" cellpadding="0" border="0">
And then add the following to the end of template.css:
.be {
padding: 0.5em 1em;
}
td.answer p {
margin-left: 1em;
}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Connexion ou Créer un compte pour participer à la conversation.
- wian1
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
- Messages : 6
- Remerciements reçus 0
FROM
.numeric input,.text-short input,.text-short textarea,.text-long textarea,.text-huge textarea
{
margin-left: 1em;
}
TO
.numeric input,.text-short input,.text-short textarea,.text-long textarea,.text-huge textarea
{
margin: 1em;
}
This change added a bit more space around the text box.
Cheers,
Ian
Connexion ou Créer un compte pour participer à la conversation.
- eileenchew6
-
- Hors Ligne
- Junior Lime
-
- Messages : 21
- Remerciements reçus 0
I have tried your methods but somehow the excess space remains. Please advise? Thanks!
Connexion ou Créer un compte pour participer à la conversation.
- eileenchew6
-
- Hors Ligne
- Junior Lime
-
- Messages : 21
- Remerciements reçus 0
Connexion ou Créer un compte pour participer à la conversation.