I am trying to implement a textarea to my custom made module in user panel in phpBB CMS.
I created a basic HTML template script, that just shows a textarea with plain text in it. Tested it on localhost, worked just like expected. As soon as I uploaded it on my website, the size of textbox has shrunk and when I right clicked -> Inspect element it said "textarea.auto-resized".
This is my code:
<style>
textarea {
resize: none;
}
</style>
<textarea readonly rows="45" cols="15">Text.</textarea>
Is there any CSS atribute that I can set to "style" in order to prevent the browser from auto-resizing my textarea?
Try using this code:
You can learn more about
!importanthere.