I am displaying the html content in a table. For printing the tags i am using textArea in the <td> of the table. So i want to adjust the height and width of textArea so that it is equal to the <td>. How can i do this
I am displaying the html content in a table. For printing the tags i
Share
dabblet.demo

the problem is that textarea behave not normal box-model, that’s why we need this trick with box-sizing
this
CSSwill help you:if you have no access to
cssfile, you can use inline csslike this: