Bin Chen Bin Chen - 9 months ago 36
HTML Question

html: how to make all the DIVs in the center of the page?



How can I make all the DIVs at the center of the webpage?

I mean in the browser.



<div class="center"></div>

CSS: { margin: 0 auto; }

Of course, if you have other things outside of those divs, they might interfere.