Hi, i hope i this is the right place for that. i have a page with an iframe and i want that iframe to be displayed full height (without scrolls). i can not set the height because the content can be other on the next day. here's my code: <div id="content"> <iframe id="myiframe" src="mypage.html" width="515" frameborder="0"></iframe> </div> it's there a way to make div height same as iframe height? this is the page: http://r3lu.sepcile-rosii.com/Livescore-Fotbal.php (here the height is set to 800) let me know if there is any solutin. thank you in advance
<div id="content" style="width: 800px;"> <iframe id="myiframe" src="mypage.html" width="515" frameborder="0"></iframe> </div> PHP: This what you mean? Please clear your words, I can help you.
now it's like that but if iframe is bigger than 800 appear a vertical scorll. <div id="content" style="height: 800px;"> <iframe id="myiframe" src="mypage.html" width="515" frameborder="0"></iframe> </div>
<div id="content" style="height: 800px; overflow: auto;"> <iframe id="myiframe" src="mypage.html" style="width: 100%; height: 100%;" frameborder="0"></iframe> </div> PHP: Try this.