Jump to content

Iframe problem


shebbycs

Recommended Posts

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>";

?>

 

 

41202684232170973459.jpg

 

But actually im want to be as this

 

36218044412165846586.jpg

 

as the login page is succesfuly direct to form 2  the iframe will be going below chat screen

 

how can i do that?

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :) ?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ;(

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.