Web Analytics Made Easy -
StatCounter Is it possible to place an HTML page inside of a table? - CodingForum

Announcement

Collapse
No announcement yet.

Is it possible to place an HTML page inside of a table?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it possible to place an HTML page inside of a table?

    Is there a way to display an html page inside of another (more sepcifically inside of a table) by using absolute position or any other way?

    frames is out of the question

    Thanks
    Psycho

  • #2
    PHP - If you have the file you want to put in the table just like
    Code:
    <p>Error 404 helps here</p>
    which is just the code inside the <body> tag.

    Then inside your table you would put
    PHP Code:
    <?PHP require ('tabletext.html'); ?>
    (replacing tabletext.html with the location of your document) and that would work.
    Last edited by gsnedders; Feb 29, 2004, 03:48 PM.
    Geoffrey Sneddon

    Comment


    • #3
      Thank you very much, I Found that using I frames helps too, i dont know which form is better, but ill try both to see which way i like the most.

      Thanks again
      Psycho

      Comment


      • #4
        Is it possible to place an HTML page inside of a table?

        Does your host allow server-side includes? if so, try this.

        <!--#include file="yourfile.txt" -->

        If not try javaScript Includes.

        <script language="javascript" src="yourfile"></script>

        Allso Iframe or Object tags
        Master Newbie http://dwightstegall.com/

        Comment


        • #5
          Re: Is it possible to place an HTML page inside of a table?

          Originally posted by oldcrazylegs
          Does your host allow server-side includes? if so, try this.

          <!--#include file="yourfile.txt" -->

          If not try javaScript Includes.

          <script language="javascript" src="yourfile"></script>

          Allso Iframe or Object tags
          Think of the people with javascript disabled, they wouldn't see it, and to use the server side includes you should still get down to the content inside <body> tags becuase otherwise it wouldn't validate (see my sig for the validator).
          Geoffrey Sneddon

          Comment


          • #6
            Re: Re: Is it possible to place an HTML page inside of a table?

            Originally posted by Error 404
            Think of the people with javascript disabled, they wouldn't see it, and to use the server side includes you should still get down to the content inside <body> tags becuase otherwise it wouldn't validate (see my sig for the validator).
            Well - as always - it depends on the audience you have or are targetting for.

            How many people have JavaScript disabled these days? How many sites depend on JavaScript?
            ~Kang He
            Prepare to be b0rkified.

            Comment


            • #7
              Yep...and anyone surfing without javascript enabled knowing how many sites depend on this must be kinda goofy anyway...and probably not the customer you're looking for...IMO
              Right, gee...er...guys?
              Hah!
              Zoobie or not Zoobie...That is the problem.
              <body onUnload="flush( ! )">

              Comment


              • #8
                HTML includes something called an Object feild. which you can use to make a sort of floating frame. but i would use an iframe if possible. no need for PHP.
                If I'm postin here, I NEED YOUR HELP!!

                Comment

                Working...
                X