OK...
I thought about it from a different angle. My previous though processed focused on NOT REPEATING info. The thing , if we reconsider what the WC# actually MEANS, is that each button must have its own UNIQUE label. Now from a human point of view this is redundant and thus semantically it could be condensed to tabular format. But since we MUST give EACH INPUT TAG a label.. this is what we end up with..
Code:
<style type="text/css">
th+th, td+td{width:auto;text-align: center}
th {text-align:left; background: #ccc; text-transform:capitalize;width:15em}
td,th {padding:10px;}
tr:nth-child(2n) td{background: #eee}
td label {height: 0; overflow: hidden; display: block}
</style>
<table>
<thead>
<tr>
<th>the Question </th>
<th>most</th>
<th>almost</th>
<th>some</label></th>
<th>barely</th>
<th>none</th>
</tr>
<thead>
<tr>
<td>1) Question</td>
<td><label for="most1">most</label></label><input type="radio" id="most1" name="q1"></td>
<td><label for="almost1">most</label><input type="radio" id="almost1"name="q1"> </td>
<td><label for="some1">most</label><input type="radio" id="some1" name="q1"></td>
<td><label for="barely1">most</label><input type="radio" id="barely1" name="q1"> </td>
<td><label for="none1">most</label><input type="radio" id="none1" name="q1"> </td>
</tr>
<tr>
<td>2) Question</td>
<td><label for="most2">most</label></label><input type="radio" id="most2" name="q2"></td>
<td><label for="almost2">most</label><input type="radio" id="almost2"name="q2"> </td>
<td><label for="some2">most</label><input type="radio" id="some2" name="q2"></td>
<td><label for="barely2">most</label><input type="radio" id="barely2" name="q2"> </td>
<td><label for="none2">most</label><input type="radio" id="none2" name="q2"> </td>
</tr>
<tr>
<td>3) Question</td>
<td><label for="most3">most</label></label><input type="radio" id="most3" name="q3"></td>
<td><label for="almost3">most</label><input type="radio" id="almost3"name="q3"> </td>
<td><label for="some3">most</label><input type="radio" id="some3" name="q3"></td>
<td><label for="barely3">most</label><input type="radio" id="barely3" name="q3"> </td>
<td><label for="none3">most</label><input type="radio" id="none3" name="q3"> </td>
</tr>
</table>
Still redundant, but now even more so.
So, although it has it's limitations, this is what I would go with instead:
Code:
<style type="text/css">
ol {padding-top:2em}
li em, li label, li input {display:inline-block; padding:0 10px 10px 10px; vertical-align: top}
li {position: relative; }
li em{ width:10.5em}
li label{position: absolute;width:4em; bottom: 100% ; margin-left: -2em; font-weight: bold}
li input, li label { width:4em ; text-align: center}
li+ li label {left:-9999em ;}
</style>
<ol>
<li>
<em>Question </em>
<label for="most1">most</label><input type="radio" id="most1" name="q1">
<label for="almost1">almost</label><input type="radio" id="almost1"name="q1">
<label for="some1">some</label><input type="radio" id="some1" name="q1">
<label for="barely1">barely</label><input type="radio" id="barely1" name="q1">
<label for="none1">none</label><input type="radio" id="none1" name="q1">
</li>
<li>
<em> A really much longer Longer Question </em>
<label for="most2">most</label><input type="radio" id="most2" name="q2">
<label for="almost2">almost</label><input type="radio" id="almost2"name="q2">
<label for="some2">some</label><input type="radio" id="some2" name="q2">
<label for="barely2">barely</label><input type="radio" id="barely2" name="q2">
<label for="none2">most</label><input type="radio" id="none2" name="q2">
</li>
<li>
<em>Question </em>
<label for="most3">most</label><input type="radio" id="most3" name="q3">
<label for="almost3">almost</label><input type="radio" id="almost3"name="q3">
<label for="some3">some</label><input type="radio" id="some3" name="q3">
<label for="barely3">barely</label><input type="radio" id="barely3" name="q3">
<label for="none3">none</label><input type="radio" id="none3" name="q3">
</li>
</ol>
Bookmarks