How to center an HTML table with CSS

How to center an HTML table with CSS

Because I seem to forget the code to center a table in CSS for some reason…

table { margin-left: auto; margin-right: auto; }

via Table centering using CSS or HTML: theodorakis.net.

Get in! No time to explain!

%d bloggers like this: