I have a long html content(html snippet) fetch from server side, I would like to display it on a page with two divs, say, div1
and div2
, each div with definite height, no scroll bar in a div is allowed, the html content is dynamic, maybe long or short, if it's too large to fit in div1
, it will automatically expand to div2
, rather than displaying all content in div1
with long scrolling bar.
is it possible to do it? How?
Many thanks.