Hi all, I'm new in php and mysql, I have a web page which the content I get from database, the content I put into table which the table generated from php. How can I align the table to left, right, up , bottom using CSS ? many thanks
Just give the table a class or ID and style it through your stylesheet. See example below HTML <table id="table"> <tr> <td></td> </tr> </table> Code (markup): CSS #table { width: 500px; margin:0 auto; } Code (markup):