maxudaskin Posted September 14, 2007 Share Posted September 14, 2007 I have a simple script for an IFrame for my forum page... <?php if(!isset($_GET['post'])){ echo '<iframe src="/forum/" name="fleet" width="800" height="auto" scrolling="no" frameborder="no" id="fleet"> Your browser does not support inline frames or is currently configured not to display inline frames. </iframe>'; }else{ echo '<iframe src="/forum/viewtopic.php?p='.$_GET['post'].'" name="fleet" width="800" height="auto" scrolling="no" frameborder="no" id="fleet"> Your browser does not support inline frames or is currently configured not to display inline frames. </iframe>';} ?> Whenever I open the page, it does not automatically expand to the framed page height, how can I fix this...? Quote Link to comment https://forums.phpfreaks.com/topic/69295-echoing-codes/ Share on other sites More sharing options...
GingerRobot Posted September 14, 2007 Share Posted September 14, 2007 I dont believe this is anything to do with your php. You need to set the height to 100%: height="100%" Quote Link to comment https://forums.phpfreaks.com/topic/69295-echoing-codes/#findComment-348225 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.