Please help me to set the #container to keep in the center of the page so that all other contents under the #container will be on center.
http://jsfiddle.net/VjMy8/ Please help me to set the #container to keep in the center of
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
in css:
With this method you won’t even need a container, you can do something like this the code below.
This code doesn’t need a float, so it doesn’t interrupt the flow of a page
This method works in every browser in is much easyer then this (older & longer) method: