473,233 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 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 5853
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

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

Similar topics

1
by: Joseph Ferris | last post by:
Hello, I am having an issue with page breaking that I hope someone will be able to help me with. Still a relative "newbie", and I thought this might be a good place to find some help. I have a...
0
by: Nathan | last post by:
Hi, I seem to having a peculiar problem with the display of odd and even pages in XSL-FO. Here is a small background of the problem. My xsl stylesheet mentions my fo:layout-master-set as ...
31
by: Greg Scharlemann | last post by:
Given some recent success on a simple form validation (mainly due to the kind folks in this forum), I've tried to tackle something a bit more difficult. I'm pulling data down from a database and...
1
by: Uthuras | last post by:
Greetings, Machine : Pentium IV Os Windows 2000 server Product : DB2 UDB Release : 7.2 We are fail to load the following data file format into db2 database table that has long varchar...
4
by: UJ | last post by:
I'm a newbie to this so please excuse the level of question. My question is how can I dynamically create a table in the middle of a page without having to build the entire page dynamically? I have...
1
by: philin007 | last post by:
Hi , I am having a page where leave is applied. - In this page 1 new rows is created dynamically everytime the 'Add row' button is pressed - Each row has a begin date text field and beside it a...
7
by: SteveM | last post by:
I am sure this is an easy question, but being relatively new to ASP.NET programming, I can not quite grasp what I need to accomplish what I need to do. What I have is a word document that is...
2
by: Jeff User | last post by:
Hi all How can I load an existing html file into a table cell for display? Setting the TableCell.Text to an existing web file path only displays the path of the file, but not the file itself....
7
by: Mariusf | last post by:
I am a novice Perl programmer and need to change a perl script that I use to create web pages with thumbnail images and some text. Currently the script created a web page for each artist / category...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.