HTML If I add some character to the text so it moves the next text -


i have problem texts in html code:

<table width="100%">      <tr>          <td align="left"><p style="font-family:arial;font-size:13px;color:white;">10000</p></td>         <td align="center"><p style="font-family:arial;font-size:13px;color:white;">100 </p></td>         <td align="right"><p style="font-family:arial;font-size:13px;color:white;">100 </p></td>     </tr> </table> 

i want it, when add character first td (align left) move second , third td (align center , align right)

thank every answer have nice day :)

set width don't resize fit whatever content in cells, e.g.

 <table>   <tr>     <th>month</th>     <th>savings</th>   </tr>   <tr>     <td width="70%">january</td>     <td width="30%">$100</td>   </tr>   <tr>     <td>february</td>     <td>$80</td>   </tr> </table> 

http://www.w3schools.com/tags/att_td_width.asp


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -