ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > RocketCake
forum topic indicator Auto resize multiline textbox
person icon
micheldemeester
Registered User
Quote
2025-08-05 11:03:18

Hello,

Sorry for writing in "bad" English, Flemish is my native language.

I have a multi-line read-only textbox set to "100%,auto" within a container.

It gets values from within a mySQL database where the max length is set to 254 characters.

I thought the textbox would adjust his height accordingly to the amount of text it has to display but this doesn't work.

Any suggestions?

BTW, the website is viewed on a smartphone.

Thanks in advance,
Michel

person icon
erik
Registered User
Quote
2025-08-05 12:47:37

I think a textarea can only be resized that way by using Javascript - so probably it would be easier to use a container (that's like a div in HTML) and set its innerHTML to the text?


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |