HTML CSS examples for CSS Layout:Text
Make text align to the middle and left in the container
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html,body { width:100%; height:100%; } table {<!-- w w w .jav a 2s.com--> width:81%; height:94%; margin:0 auto; border:2px solid Chartreuse; } </style> </head> <body> <table> <tbody> <tr> <td>test</td> </tr> </tbody> </table> </body> </html>