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 11 months 2 weeks 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: 11 months 2 weeks ago by apprenti.
The administrator has disabled public write access.

buttons radio and multiple choice questions in printable version of LS 11 months 2 weeks ago #95494

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
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 11 months 2 weeks ago #95521

  • mfaber
  • mfaber's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 81
  • Thank you received: 21
  • 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 11 months 1 week 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.119 seconds
Donation Image