Welcome, Guest
Username: Password: Remember me

TOPIC: buttons radio and multiple choice questions in printable version of LS

buttons radio and multiple choice questions in printable version of LS 1 year 4 months ago #95466

  • apprenti
  • apprenti's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Hiii,

In the printable version of LS, The positioning of buttons radio or multiple choice questions is in 1 column. I want to change it in many colums like that:

[url=http://hdvwww10-test/limesurvey/index.php/survey/index/action/previewquestion/sid/495136/gid/32/qid/880][/url]

In fact it's possible in electronic version but not in printable version

Thanks!!!
Attachments:
Last Edit: 1 year 4 months ago by apprenti.
The administrator has disabled public write access.

buttons radio and multiple choice questions in printable version of LS 1 year 4 months ago #95494

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4195
  • Thank you received: 789
  • Karma: 359
You can do that by modifying print_template.css.

Add something like this (for the default template):
.multiple-opt .q-answer ul:after {  /* Clear the floats */
	content: ""; 
	display: block; 
	clear: both; 
	height: 0; 
	visibility: hidden; 
} 
 
.multiple-opt .q-answer li {
	float: left;
	padding: 0 10px;
	text-align: center;
}
 
.multiple-opt .q-answer li img {
	display: block;
	margin: 0 auto;
}


Capture_2013-05-01.JPG
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.
The administrator has disabled public write access.
The following user(s) said Thank You: mfaber

buttons radio and multiple choice questions in printable version of LS 1 year 4 months ago #95521

  • mfaber
  • mfaber's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 85
  • Thank you received: 22
  • Karma: 4
That's sweet! Belongs in the manual, i think!
The administrator has disabled public write access.

buttons radio and multiple choice questions in printable version of LS 1 year 4 months ago #95711

  • apprenti
  • apprenti's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Thanks :)
It's good with this code

.multiple-opt .q-answer ul:after { /* Clear the floats */
content: "";
display: block;
clear: both;
height: 0;
visibility: hidden;
}

.multiple-opt .q-answer li {
float: left;
padding: 0 10px;
text-align: center;
}

/*.multiple-opt .q-answer li img {
display: block;
margin: 0 auto;
}*/
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.102 seconds
Donation Image