Published in: CSS
Used to center tables in CSS
table.center {margin-left:auto; margin-right:auto;}
Comments
Subscribe to comments
You need to login to post a comment.
CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.
atourino on 08/26/06
12 people have marked this snippet as a favorite
mate
postNuKe
aurele
visualAesthetic
tavo
icarus
Phoenix
vali29
aziz
visuallyspun
gAmUssA
jamesming
Published in: CSS
Used to center tables in CSS
table.center {margin-left:auto; margin-right:auto;}
Subscribe to comments
You need to login to post a comment.
Or even better, margin:auto;
Thank you as you are right. :D