Home > php教程 > PHP开发 > Web knowledge and questions (html, css, js)

Web knowledge and questions (html, css, js)

高洛峰
Release: 2016-11-24 10:12:39
Original
1070 people have browsed it

1. Setting the length and width of textarea
Method 1: Use cols, rows

Disadvantages: It cannot be modified after setting (js also cannot be modified), and the sizes are different in IE and Firefox.
Method 2: Use width, height.

2. The content in the Table automatically wraps
Use style = "WORD-BREAK: break-all"
table's td Riga After adding the textarea, set the width to 100%. The textarea will be opened automatically. Just add the above to the table


Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template