Aligning table into center using CSS

From Notes_Wiki

Home > HTML > Aligning table into center using CSS

To align table into center using CSS use:

style="left-margin:auto;right-margin:auto"

If it is desired that table uses some fixed percentage of browser width then that also can be specified with the help of width CSS attribute.



Home > HTML > Aligning table into center using CSS