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
Post a Comment