Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-27-2004, 09:13 PM   PM User | #1
Psychoman
Regular Coder

 
Join Date: Feb 2004
Location: Florida, USA
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Psychoman is an unknown quantity at this point
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
Psychoman is offline   Reply With Quote
Old 02-27-2004, 11:27 PM   PM User | #2
gsnedders
Senior Coder

 
gsnedders's Avatar
 
Join Date: Jan 2004
Posts: 2,340
Thanks: 1
Thanked 7 Times in 7 Posts
gsnedders will become famous soon enough
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.
__________________
Geoffrey Sneddon

Last edited by gsnedders; 02-29-2004 at 08:48 PM..
gsnedders is offline   Reply With Quote
Old 02-29-2004, 01:50 AM   PM User | #3
Psychoman
Regular Coder

 
Join Date: Feb 2004
Location: Florida, USA
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Psychoman is an unknown quantity at this point
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
Psychoman is offline   Reply With Quote
Old 03-03-2004, 06:54 PM   PM User | #4
oldcrazylegs
Regular Coder

 
oldcrazylegs's Avatar
 
Join Date: Feb 2004
Location: East Moline Illinois USA
Posts: 414
Thanks: 4
Thanked 5 Times in 4 Posts
oldcrazylegs is an unknown quantity at this point
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
oldcrazylegs is offline   Reply With Quote
Old 03-03-2004, 09:35 PM   PM User | #5
gsnedders
Senior Coder

 
gsnedders's Avatar
 
Join Date: Jan 2004
Posts: 2,340
Thanks: 1
Thanked 7 Times in 7 Posts
gsnedders will become famous soon enough
Re: Is it possible to place an HTML page inside of a table?

Quote:
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
gsnedders is offline   Reply With Quote
Old 03-04-2004, 05:06 PM   PM User | #6
Kang He
New Coder

 
Join Date: Jun 2002
Location: behind you
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Kang He is an unknown quantity at this point
Re: Re: Is it possible to place an HTML page inside of a table?

Quote:
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.
Kang He is offline   Reply With Quote
Old 03-05-2004, 05:03 AM   PM User | #7
zoobie
Senior Coder

 
Join Date: Jun 2002
Location: ColoRockyz
Posts: 1,642
Thanks: 1
Thanked 0 Times in 0 Posts
zoobie has a little shameless behaviour in the past
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( ! )">
zoobie is offline   Reply With Quote
Old 03-05-2004, 05:11 PM   PM User | #8
Ultragames
Regular Coder

 
Join Date: Aug 2002
Location: Oregon, United States of America
Posts: 882
Thanks: 1
Thanked 9 Times in 9 Posts
Ultragames has a little shameless behaviour in the past
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!!
Ultragames is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:49 AM.


Advertisement
Log in to turn off these ads.