For some reason my textarea DIV is not inheriting
margin: 0 auto
from its parent:
*
{
padding: 0;
margin: 0 auto;
}
Here is a link to my CSS & HTML for this example
How can I make it so that the textarea DIV actually gets centered?
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
display:block;to textarea style. After that textarea will be treated as block element and will be displayed centered.