what's the proper way to center a table? I don't want to use <center> if I don't have to, but all of the CSS centering that I see is through text-align properties, and I can't recall if that affects containers.
hey, you're right! simplicity wins out. I tested div in this exact manner, and you can actually simplify margin-left and margin-right as just margin: auto;
table works this way, too!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.