I've decided to use iframes since I can't figure out how to get links to load into a table cell. I have entered the code

[PHP<? include('iframe.php'); ?>[/code]

in my file to include the iframe. The iframe file itself has the following code

<html>
<head>
<title>Entropy Enterprises</title>
</head>

<body>

<iframe width="455" height="442" align="middle" frameborder="0">
	<frame src="news.php" name="news" frameborder="0">
</iframe>

</body>
</html>

Now, for some reason the iframe still comes up as a white box in the middle of my screen. I'm using IE 6 on WinXP so I don't think there's a reason it should be doing that unless I goofed up my code somewhere. If anyone could figure out why it won't work I'd be very appreciative. Thanks

    the problem is that the source must be inside the first <iframe> tag. between <iframe ..> and </iframe> you have to put things to be seen only from browsers that don't support iframes, so try this one:

    <html>
    <head>
    <title>Entropy Enterprises</title>
    </head>
    
    <body>
    
    <iframe src="news.php" width="455" height="442" align="middle" frameborder="0">
        Click <a href="news.php">here</a> to see this page
    </iframe>
    
    </body>
    </html>
    

      hi Outofmymindyo!!

      <iframe name="news" src="news.php">
      <h3>your browser does not support iframes!!</h3>
      </iframe>

      hope that helps!!

      ceeyaa.MeX

        Read my post on the other page...but anyway...the IFRAME syntax is wrong. It's:

        <IFRAME src="foo.html" width="400" height="500" scrolling="auto" frameborder="1">If you can see this, you don't support IFRAMEs! Get Internet Explorer now!</IFRAME>

        I still think there's a better way to do this. Read my post on your other question...

        Lewis

          Yes thanks again very much guys. I was on phpbb.com and they directed my attention to the wrong code of the iframe. I haven't used them in so long I forgot how to code them. Sorry 🙁

            Write a Reply...