Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Put the answer and question at the same line

Put the answer and question at the same line 1 Jahr 4 Monate her #97285

  • boyan
  • boyans Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 49
  • Dank erhalten: 9
  • Karma: 1
Version 1.91+ Build 11804
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Put the answer and question at the same line 1 Jahr 4 Monate her #97286

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4354
  • Dank erhalten: 825
  • Karma: 380
In that case, you will need to use the question ID instead of the {QID} placeholder.

Student Name:
<script type="text/javascript" charset="utf-8">	
	$(document).ready(function(){
		$('#question941').addClass('inlineAnswer');
	});
</script>


Teacher Name:
<script type="text/javascript" charset="utf-8">	
	$(document).ready(function(){
		$('#question942').addClass('inlineAnswer');
	});
</script>
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: boyan

Put the answer and question at the same line 1 Jahr 4 Monate her #97287

  • boyan
  • boyans Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 49
  • Dank erhalten: 9
  • Karma: 1
It worked beautifully! Thanks!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Put the answer and question at the same line 1 Jahr 4 Monate her #97288

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4354
  • Dank erhalten: 825
  • Karma: 380
Add this to template.css to align them better:
.inlineAnswer p.question {
	margin: 0;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.142 Sekunden
Donation Image