Justify more than one item inside a td in different directions, HTML, CSS -


i want left-justify 1 item, , right-justify other item inside single td. doable? thanks.

test.php

<table border = '1'>  <tr><td>left-justified right-justified</td></tr> <tr><td>texttexttexttexttexttexttext</td></tr>  </table> 

try this...

<table border = '1'>  <tr> <td>     <span >left-justified</span>     <span  style="float:right;"> right-justified</span> </td> </tr>  <tr> <td>     texttexttexttexttexttexttext </td> </tr>  </table> 

Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -