css - html align column right -
i have html code :
  <tr>      <td>       <a type="text"          name="color" >@client.login</a>     </td>      <td>       <a type="text"          name="color" >@client.mail</a>     </td>       <td>       <a type="text"          name="color" >@client.password</a>     </td>       <td>       <a type="text"          name="color" >@client.name</a>     </td>                <td width=10px align="left">             @if (i == 0)             {        <input type="radio"          name="color" checked >             }             else             {<input type="radio"  name="color" >             }           </td>   </tr>   my problem in radio button : far other elements. attribute align obsolete in html5 . 
the dimensions : 
so how can modify snippet got result?
use css text-align instead of align:
<td width=10px style="text-align: right;">     @if (i == 0)     {          <input type="radio" name="color" checked >     } else{         <input type="radio"  name="color" >     }       </td>      
Comments
Post a Comment