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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -