Difference between revisions of "Aligning table into center using CSS"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>HTML|HTML</yambe:breadcrumb> =Aligning table into center using CSS= To align table into center using CSS use: <pre> style="left-margin:auto;right-margin:aut...") |
(No difference)
|
Revision as of 07:22, 1 January 2013
<yambe:breadcrumb>HTML|HTML</yambe:breadcrumb>
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.