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 . far

the dimensions : dim

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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -