Guest houp2002 Posted January 30, 2007 Share Posted January 30, 2007 HiI need to center a text zone (a paragraphe) in my web page using css and I don't know how. The only information I found on the web is the text-align:center instruction but it's not what I want to do. I would like to get something like this: Some text is in the middle of my web page in this form. ThankPLH Link to comment Share on other sites More sharing options...
real_illusions Posted January 30, 2007 Share Posted January 30, 2007 the text-align:center attribute is what you need for centering text in a part of a page or the whole page.Have you got the page somewhere to show us what you have or some code? Link to comment Share on other sites More sharing options...
Anders Moen Posted January 30, 2007 Share Posted January 30, 2007 It's as simple as this: margin: 0 auto; Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now