I have a group of radio buttons that I put inside the table, the code looks like this:
<table class="table table-responsive"> <thead> <tr> <th>Courier</th> <th>Service</th> </tr> </thead> <tbody> <form> <tr> <td> <div class="radio"> <label><input type="radio" name="optradio">TIKI</label> </div> </td> <td> Regular Shipping </td> </tr> <tr> <td> <div class="radio"> <label><input type="radio" name="optradio">JNE</label> </div> </td> <td> Express Shipping </td> </tr> </form> </tbody> </table>
When I click on one of the Courier cells, for example JNE, the button is selected, now I want the button to be selected when I click Express Express, how can I do it? and the vertical alignment of the Service column is not as high as the Courier column, how can I fix it? I am using bootstrap.
source share