B
B
babai192015-03-06 14:41:33
css
babai19, 2015-03-06 14:41:33

How to dynamically increase iframe height?

The site has a tinymce editor installed, it is designed in such a way that it opens the text for editing in the iframe tag, so when I add too much text to the text field, the iframe will have a scrollbar. You need to remove the scrollbar from the iframe and make the iframe stretch in real time in height. Overflow, min-height=100%, height=100% don't help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Khangeldy Ilebaev, 2015-03-06
@mahabatuly

textarea {
    resize: vertical; // или horizontal;
}

S
SerzN1, 2015-03-06
@SerzN1

Will it be possible?
:) otherwise everything is not very simple
1. stackoverflow.com/questions/153152/resizing-an-ifr...
2. https://github.com/davidjbradshaw/iframe-resizer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question