I have a div called main which is 100% width of his parent width.
In #main I have input field and textarea.
I can expand input field (width:100%) but how to do the same with textarea ?
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.
Do not use the width attribute. Use css instead. You can put the style in a separate css file:
or you can put the style inline in the elements:
I recommend the first option because it allows you to separate the style of the page.