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...? 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%" Link to comment https://forums.phpfreaks.com/topic/69295-echoing-codes/#findComment-348225 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.