shebbycs Posted December 6, 2011 Share Posted December 6, 2011 chatframe.php <? print "<center><iframe src='chatlog.php' name='chatlogframe' width='350' height='400'></iframe>"; print "<br><br>"; print "<iframe src='menu.php' width='350' height='150' frameborder='0'></iframe></center><br><br>"; ?> But actually im want to be as this as the login page is succesfuly direct to form 2 the iframe will be going below chat screen how can i do that? Quote Link to comment https://forums.phpfreaks.com/topic/252590-iframe-problem/ Share on other sites More sharing options...
SergeiSS Posted December 6, 2011 Share Posted December 6, 2011 You need 2 DIVs. Put one iframe in the first DIV and another iframe in another DIV. Then you may place these DIVs (iframes) whenever you wish. May be you will need CSS for this. Another possibility is to use a table with 2 columns. But it's not a modern solution. Quote Link to comment https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1294962 Share on other sites More sharing options...
shebbycs Posted December 6, 2011 Author Share Posted December 6, 2011 You need 2 DIVs. Put one iframe in the first DIV and another iframe in another DIV. Then you may place these DIVs (iframes) whenever you wish. May be you will need CSS for this. Another possibility is to use a table with 2 columns. But it's not a modern solution. can you show me one example ? Quote Link to comment https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1294964 Share on other sites More sharing options...
SergeiSS Posted December 6, 2011 Share Posted December 6, 2011 It always interesting for me... How lazy could be a man? OK, short example As short as possible. <div><iframe ......></iframe></div><div><iframe ....></iframe></div> How to put them in correct places? You would better think about it. As an example you may check the code of this forum page. It contains some DIVs. Quote Link to comment https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1294978 Share on other sites More sharing options...
shebbycs Posted December 6, 2011 Author Share Posted December 6, 2011 It always interesting for me... How lazy could be a man? OK, short example As short as possible. <div><iframe ......></iframe></div><div><iframe ....></iframe></div> How to put them in correct places? You would better think about it. As an example you may check the code of this forum page. It contains some DIVs. are you saying in the chatframe.php im can done that? but still inside the iframe im din get it how to do it please show something im a bit noob ;( Quote Link to comment https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1294986 Share on other sites More sharing options...
SergeiSS Posted December 6, 2011 Share Posted December 6, 2011 It seems that it's better for you to read more about iframes and other tags. Go to this page http://www.w3schools.com/tags/tag_iframe.asp - here you'll find a lot of information about iframe and other tags. Maybe you'll find a better solution than I suggest? Quote Link to comment https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1295000 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.