I created an html table with two columns. I want the first column containing the text to be right-aligned, but I want the second column to remain to the left, since it contains checkboxes. For the presentation, it would look, but I do not know. I tried creating td class = "column1", then text-align: right; in CSS, but no luck.
We will be very grateful for any ideas.
HTML
<td class="column1">Retrieve Logs:</td> <td class="column2"><input type=checkbox name="getcamlogs" checked="checked"></td>
CSS
td.column1 { text-align: right; }
source share