Find an Online Tutor Now

Asked • 05/22/19

Should I size a textarea with CSS width / height or HTML cols / rows attributes?

Every time I develop a new form that includes a `textarea` I have the following dilemma when I need to specify its dimensions:Use **CSS** or use the `textarea`'s attributes `cols` and `rows`?What are the pros and cons of each method?What are the semantics of using these attributes?How is it usually done?

1 Expert Answer


Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.