Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Column width in an array

More
5 years 10 months ago - 5 years 10 months ago #190373 by Joffm
Replied by Joffm on topic Column width in an array
Hi, Ana,

to set the column width, add some css styling in the question text like:
Code:
<style type="text/css">
table.subquestion-list thead .column-0 { width: 26%; }
table.subquestion-list thead .column-1 { width: 6%; }
table.subquestion-list thead .column-2 { width: 12%; }
table.subquestion-list thead .column-3 { width: 12%; }
table.subquestion-list thead .column-4 { width: 8%; }
table.subquestion-list thead .column-5 { width: 8%; }
table.subquestion-list thead .column-6 { width: 14%; }
table.subquestion-list thead .column-7 { width: 14%; }
</style>

Width should add up to 100%.

Taken from here:
www.limesurvey.org/forum/can-i-do-this-w...rvey?start=15#186378

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 10 months ago by Joffm.
The topic has been locked.
More
5 years 10 months ago #190386 by asilbering
Replied by asilbering on topic Column width in an array
Thanks a lot! That works great.

Best regards,

Ana
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose