471,627 Members | 2,370 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

How to load a page in a html table cell?

Hi,
I am using a table to create a layout. It basically splits the browser into two. In one of the cell's I would like to load a webpage. How can I do that? Do I have to use something else to create the layout in table's dont support that

thanks,
Ravi.

Expand|Select|Wrap|Line Numbers
  1. <html>
  2.  
  3. <head>
  4. <title>Two page viewer</title>
  5. </head>
  6.  
  7. <body>
  8.  
  9. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  10.     <tr>
  11.         <td valign="top" height="50%">
  12.         <!-- load http://www.google.com --> </td>
  13.     </tr>
  14.     <tr>
  15.         <td valign="top" height="50%">
  16.         &nbsp;</td>
  17.     </tr>
  18. </table>
  19.  
  20. </body>
  21.  
  22. </html>
  23.  
Sep 7 '07 #1
3 5683
Death Slaught
1,137 1GB
Hi,
I am using a table to create a layout. It basically splits the browser into two. In one of the cell's I would like to load a webpage. How can I do that? Do I have to use something else to create the layout in table's dont support that

thanks,
Ravi.

Expand|Select|Wrap|Line Numbers
  1. <html>
  2.  
  3. <head>
  4. <title>Two page viewer</title>
  5. </head>
  6.  
  7. <body>
  8.  
  9. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  10.     <tr>
  11.         <td valign="top" height="50%">
  12.         <!-- load http://www.google.com --> </td>
  13.     </tr>
  14.     <tr>
  15.         <td valign="top" height="50%">
  16.         &nbsp;</td>
  17.     </tr>
  18. </table>
  19.  
  20. </body>
  21.  
  22. </html>
  23.  
I don't know if you can or not, but I know it's easily achieved with frames.

Thanks, Death
Sep 7 '07 #2
nomad
664 Expert 512MB
Hi,
I am using a table to create a layout. It basically splits the browser into two. In one of the cell's I would like to load a webpage. How can I do that? Do I have to use something else to create the layout in table's dont support that

thanks,
Ravi.

Expand|Select|Wrap|Line Numbers
  1. <html>
  2.  
  3. <head>
  4. <title>Two page viewer</title>
  5. </head>
  6.  
  7. <body>
  8.  
  9. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  10.     <tr>
  11.         <td valign="top" height="50%">
  12.         <!-- load http://www.google.com --> </td>
  13.     </tr>
  14.     <tr>
  15.         <td valign="top" height="50%">
  16.         &nbsp;</td>
  17.     </tr>
  18. </table>
  19.  
  20. </body>
  21.  
  22. </html>
  23.  
Not to sure why you would want to have two website on one page. This is not goood web designing. If you need to Frame would be the best bet. I whould have a header frame then two frame below the header.
Think about the rest of the website, how many pages are you going to have.
Remember the if you place two webpages in one page you will not be able to see the whole site, even with window bars (sliders).

nomad
Sep 8 '07 #3
thank you for the replies. I have been able to use a iframe in the cell to load a webpage. I will look to see if I can use frames in total.
Ravi.
Sep 8 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Joseph Ferris | last post: by
reply views Thread by Nathan | last post: by
31 posts views Thread by Greg Scharlemann | last post: by
1 post views Thread by Uthuras | last post: by
1 post views Thread by philin007 | last post: by
2 posts views Thread by Jeff User | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.