The element has a variable width, so I don’t know it.
Is it possible to center this element inside its wrapper element?
The wrapper has a fixed width of 960px…
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.
Add
text-align: center;to the wrapper, and thendisplay: inline-block;to the childOr add
display: table;andmargin: 10px auto;to the child elementOr
position: relative; left: 50%; float: left;