473,322 Members | 1,526 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,322 software developers and data experts.

Nested table alters format of host table.

Gaz
Hi,

I need to have a table nested within another table. The tables are
alongside each other visually speaking, and the nested table (on the
right) can vary in size. My problem is that when the nested table has
more rows than the first table, the first table (on the left) pads out
its rows so that the table matches the height of the nested table.

I don't want this it happen.. I just want the nested table to be
longer than the first table. Anybody have any ideas??

Gaz.

Here's a quick example of the problem :
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>Table test</title>
<link href="Style Sheets\Ideal.css" type="text/css"
rel="stylesheet">
</head>

<body id="MyBody">

<table>
<tr>
<td>
TABLE TEST :Line number 1
</td>
<!--################################################## #-->
<td rowspan="99">
<table>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
<tr>
<td>
Insert Table Line 1
</td>
</tr>
</table>
</td>
<!--################################################## #-->
</tr>
<tr>
<td>
TABLE TEST :Line number 2
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 3
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 4
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 5
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 6
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 7
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 8
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 9
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 10
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 11
</td>
</tr>
<tr>
<td>
TABLE TEST :Line number 12
</td>
</tr>

</table>

</body>
</html>
Jul 20 '05 #1
4 6564
oo******@yahoo.co.uk (Gaz):
Hi,

I need to have a table nested within another table. The tables are
alongside each other visually speaking, and the nested table (on the
right) can vary in size. My problem is that when the nested table has
more rows than the first table, the first table (on the left) pads out
its rows so that the table matches the height of the nested table.

I don't want this it happen.. I just want the nested table to be
longer than the first table. Anybody have any ideas??

Gaz.

Here's a quick example of the problem :

[ cut problem ]

New source:

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html>
<head>
<title>Table test</title>
<link href="Style Sheets\Ideal.css" type="text/css"
rel="stylesheet">
</head>

<body id="MyBody">

<table border="1">
<tr>
<td>

<table border="1">
<tr><td>TABLE TEST :Line number 1</td></tr>
<tr><td>TABLE TEST :Line number 2</td></tr>
<tr><td>TABLE TEST :Line number 3</td></tr>
<tr><td>TABLE TEST :Line number 4</td></tr>
<tr><td>TABLE TEST :Line number 5</td></tr>
<tr><td>TABLE TEST :Line number 6</td></tr>
<tr><td>TABLE TEST :Line number 7</td></tr>
<tr><td>TABLE TEST :Line number 8</td></tr>
<tr><td>TABLE TEST :Line number 9</td></tr>
<tr><td>TABLE TEST :Line number 10</td></tr>
<tr><td>TABLE TEST :Line number 11</td></tr>
<tr><td>TABLE TEST :Line number 12</td></tr>
</table>

</td>
<td>

<table border="1">
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
<tr><td>Insert Table Line 1</td></tr>
</table>

</td>
</tr>
</table>

</body>
</html>

John OO
--

<http://webcel.nl/>
<http://www.webcel.nl/bayshop/shop/bayshop.html>

"Time is what prevents everything from happening at once"
- John Archibald Wheeler -
Jul 20 '05 #2
Gaz wrote:

I need to have a table nested within another table.


Algorithum expressed in the form of a flow chart[1]:

Are you trying to use tables for layout?
Yes -> http://www.allmyfaqs.com/faq.pl?Tableless_layouts
No -> Sure?
No -> http://www.allmyfaqs.com/faq.pl?Tableless_layouts
Yes -> Really? You are only using them to asociate
rows and cols of data?
No -> http://www.allmyfaqs.com/faq.pl?Tableless_layouts
Yes -> Give us a URL [with real data; the code you posted
contains only dummy text].
Data that is so complex that it
makes sense to nest tables is really rare.
This is something special.

[1] borrowed with permission

--
Brian
follow the directions in my address to email me

Jul 20 '05 #3
Gaz
> > I need to have a table nested within another table.

Are you trying to use tables for layout?
Yes -> http://www.allmyfaqs.com/faq.pl?Tableless_layouts


OK, I'm reading up on http://www.alistapart.com/stories/tohell/ at the
moment. It mentions that 3 (or more) column layouts are difficult in
css without tables (I need several columns). I will send you an image
of my screen if you want, I don't have any webspace at the moment.
Would be glad to get your feedback on it.

I like the idea of css only layout, even if only to cut out all the
<table> <tr> <td>s all over the place, I will keep an open mind and
see if it can do what I want. But I'm dealing with a rather busy data
entry screen, not paragraphs of text, if that makes a difference.

By the way, I did get around my original problem by padding out the
first table with rows so that it is always as tall as the second table
can be.
Jul 20 '05 #4
Gaz
> > I need to have a table nested within another table.

Are you trying to use tables for layout?
Yes -> http://www.allmyfaqs.com/faq.pl?Tableless_layouts


OK, I'm reading up on http://www.alistapart.com/stories/tohell/ at the
moment. It mentions that 3 (or more) column layouts are difficult in
css without tables (I need several columns). I will send you an image
of my screen if you want, I don't have any webspace at the moment.
Would be glad to get your feedback on it.

I like the idea of css only layout, even if only to cut out all the
<table> <tr> <td>s all over the place, I will keep an open mind and
see if it can do what I want. But I'm dealing with a rather busy data
entry screen, not paragraphs of text, if that makes a difference.

By the way, I did get around my original problem by padding out the
first table with a row so that it is always as tall as the second
table can be :

<tr>
<td height="85px" colspan="99">

<td>
<tr>
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: r rk | last post by:
I am trying to write a utility/query to get a report from a table. Below is the some values in the table: table name: dba_daily_resource_usage_v1...
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...
2
by: DelphiBlue | last post by:
I have a Nested Datagrid that is using a data relations to tie the parent child datagrids together. All is working well with the display but I am having some issues trying to sort the child...
1
by: Balaji Neelakantan Pooruli | last post by:
Hi, We were in need of altering a DB2 table in which one of the column has been changed from VARCHAR(256) to INTEGER. I have extracted the table data into a tape before alters. After the alters...
4
by: V. Jenks | last post by:
What seems like a simple thing is apparently not so straightforward? I have a datalist. Inside of that datalist is an <itemtemplate> secion which contains other server controls such as a...
1
by: Thu | last post by:
Hi, I create a Dataset to link three tables in my Access database. E.g. The three tables are , , . I then create 2 DataRelations, 1st relation (Order_Cust_Rel) links and using CustomerID field...
3
by: lemonade134 | last post by:
Hello, I'm creating a database in Access 2003 after not using Access for about six years. I used to use nested queries, but don't see a way to do that in the newer form of Access. Instead, the books...
0
by: Nick L | last post by:
Here is the PowerShell script I've been working on (.NET question is at the bottom): ### setup SQL connection $conn = new-object System.Data.SqlClient.SqlConnection $conn.ConnectionString =...
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...
1
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.