Jump to content

How do I align tables with CSS?


dennylin93

Recommended Posts

You can use this;

XHTML:<div id="some_name">All your content :)</div>CSS:#some_name {width: 600px;margin: 0 auto;}

But to make this work in all browser, you have to use the doctype if you don't have it :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...