Home  >  Article  >  Web Front-end  >  Solution to the problem that the text is in the lower left corner and cannot be resized during textarea layout_HTML/Xhtml_Web page production

Solution to the problem that the text is in the lower left corner and cannot be resized during textarea layout_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:37:111362browse

Two small problems, but they have been bothering me for a long time

The first problem

The text on the left side of the textarea text area is always on the lower left side of the textarea, which looks unsightly

You can do it by setting an attribute

Copy the code
The code is as follows:



The second problem

The textarea text area has clearly set cols and rows, but it can still change the size

The same attribute can be done

Copy code
The code is as follows:



Done!

It’s that easy?

Well it’s that easy!!!

If you don’t believe it, go and try it!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn