HTML CSS examples for CSS Widget:Table Cell
Align right in a table cell with CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> table tr td:nth-child(2) { text-align:right; } </style> <!-- w w w .j a v a 2s . c om--> </head> <body> <table width="100%"> <tbody> <tr> <td> <input id="abort" type="submit" name="abort" value="Back"> <input id="save" type="submit" name="save" value="Save"> </td> <td> <input id="delegate" type="submit" name="delegate" value="Delegate"> <input id="unassign" type="submit" name="unassign" value="Unassign"> <input id="complete" type="submit" name="complete" value="Complete"> </td> </tr> </tbody> </table> </body> </html>