Thank you very much Tony.
The color issue is working, but I still have an issue with the widths.
My template.css for the widths looks like this now:
#question448 tbody th {
width: 11%;
}
#question448 table.question tbody th {
width: 34%;
}
But when I look up the source code of the question preview in my browser I can find values of 20% for the first column and 13.3% for the rest:
</script><br /><span class="questionhelp"></span></td></tr><tr><td class="answer"><table class="question" summary="Bitte geben Sie an, wie viele Ihrer ehemaligen Kollegen die folgenden Möglichkeiten während des Verlagerungsprozess hatten:
$(document).ready(function() {
var qID = 448;
// Reset column widths
$('#question'+qID+' col').attr('width', 'auto');
// Insert new column
$('').insertBefore('#question'+qID+' table.question thead tr th:last');
$('#question'+qID+' table.question tbody tr').each(function(i) {
$('td:last', this).addClass('lastCell');
});
$('').insertBefore('.lastCell');
});
- an array type question"><colgroup class="col-responses"><col class="col-answers" width="20%" /><col class="odd" width="13.3%" /><col class="even" width="13.3%" /><col class="odd" width="13.3%" /><col class="even" width="13.3%" /><col class="odd" width="13.3%" /><col class="even" width="13.3%" /></colgroup>
I am not that familiar with CSS, so your help would be again appreciated.