Welcome to the LimeSurvey Community Forum

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

Is it possible to move the multiple-choice checkbox into the table

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 7 months ago #232334 by Joffm
No need to insert strange things.

Add this to the question text or add it to the other <style> </style> section.
Code:
<style>
.dir-ltr .radio-item .ls-label-xs-visibility, .dir-ltr .checkbox-item .ls-label-xs-visibility {
    left: auto;
    margin-left: 0px;
}
</style>

This way you may revise the whole code of the table.
I used some (4) classes and it is much clearer, like this
Code:
    <thead>
        <tr>
            <th class="header1" colspan="3" style="width: 50%;">Reported trip</th>
            <th class="header1" scope="col" style="width: 25%;">Car-DRT</th>
            <th class="header1" scope="col" style="width: 25%;">Van-DRT</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td class="tdyellow" style="width: 24%;">Trip segment</td>
            <td class="tdyellow" style="width: 13%;">reported mode(s)</td>
            <td class="tdyellow" style="width: 13%;">Reported duration&amp;Cost</td>
            <td class="tdtrans">Average travel time &amp; cost</td>
            <td class="tdtrans">Time to walk to the stop<br />Average travel time &amp; cost</td>
        </tr>
        <tr style="{if(t1pre==0,'display:none;','')}">
            <td class="tdyellow">A</td>
            <td class="tdyellow"> </td>
....

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: LISHANGQI

Please Log in to join the conversation.

  • LISHANGQI
  • LISHANGQI's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 7 months ago #232356 by LISHANGQI
Thanks a lot! it works very well!

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose