Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Dynamically adjusting the height of a textbox to its content.

$
0
0

Hi All,

 

1 - I am dynamically feeding text into a textbox/div.

2 - I want to dynamically add an image right below each text.

3 - Problem: each text content takes a different amount of rows and height

4 - How should I calculate the position of the image then?

5 - I somehow need to figure out the text-rows, or div height that each text occupies perhaps.

6 - I think, if I create a textarea dynamically, i should be able to find the height or etc somehow

 

Any solutions?

 

Thanks


Viewing all articles
Browse latest Browse all 9897

Trending Articles