By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,052 Members | 1,201 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,052 IT Pros & Developers. It's quick & easy.

How to load a page in a html table cell?

P: 2
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
Share this Question
Share on Google+
3 Replies


Death Slaught
100+
P: 1,137
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
Expert 100+
P: 664
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

P: 2
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.