- Posts: 5
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { var qID = QQ; // Reset column widths $('#question'+qID+' col').attr('width', 'auto'); // Insert new column $('<th class="spacerCell"></th>').insertBefore('#question'+qID+' table.question thead tr th:last'); $('#question'+qID+' table.question tbody tr').each(function(i) { $('td:last', this).addClass('lastCell'); }); $('<td class="spacerCell"></td>').insertBefore('.lastCell'); }); </script>
#questionQQ .spacerCell { background-color: #FFFFFF; width: 5px; } #questionQQ tbody th { width: 15%; }