The way to make textarea fill the whole cell in the table

I developed this table so that journalists can view information about their reports in the database, and the text areas in the upper function - both search fields and table headers - which show what is in each column.

However, the problem I ran into is that when the table shifts sizes due to content, the text areas (obviously) do not shift along with them.

My question is this; is there any way to get textarea to take care of the whole area of ​​the cell in which they are?

http://i.imgur.com/twOmA.png

+6
source share
1 answer

Try:

textarea { width: 100%; } 

Example : http://jsfiddle.net/ravan/JZwhH/

+9
source

Source: https://habr.com/ru/post/899758/


All Articles