Iframe hiding content

0

I have a iframe that receives "interacoes.php" which is a select. But iframe hides content on behalf of height="100%" . If I put height=20000px; it shows everything.

How can I make everything appear automatically?

I do not want to put a fixed height, why either makes the content small or large, goes according to what's in the select.

HTML:

 <iframe src="interacao.php" width="100%" style="height:100%; min-height:900px;" frameborder="0" scrolling="no"></iframe>
    
asked by anonymous 05.12.2016 / 00:48

1 answer

0

Do as follows:

   <iframe src="http://suaurl.com.br"style="position:fixed; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;">
        Your browser doesn't support iframes
    </iframe>

In this case, it will display 100% width and 100% height.

    
05.12.2016 / 11:05