Jump to content

Side By Side I-Frames


Xplorer4x4

Recommended Posts

I think I am about to loose my mind. I have googled and looked at tons of examples of using i-frames side by side, but nothing works. The layout is pretty simple:

http://img32.imageshack.us/img32/8662/diagram2q.jpg

 

 

Here is the source code of the page.

<?
if (!check_perms('users_mod')){ error(403); }

show_header('Staff Tools', 'toolbox'); ?>
<head>
<style type="text/css">
#adminmenu {
margin-left:0%
width: 200px;
float: left;
}

#admincontent {
float: right;
margin-left: 15%;
}

<!--#menu iframe, #content iframe {
width: 100%;-->
}
</style>
</head/>
<div class="adminmenu">
<iframe width="90" style="display:inline" src="/index2.php"></iframe> 
</div>
<div class="admincontent">
<iframe width="500" style="display:inline" src="/info.php"></iframe> 
</div>
<?
?>

 

Here is the result:

unledlbr.jpg

Link to comment
https://forums.phpfreaks.com/topic/250016-side-by-side-i-frames/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.