473,770 Members | 4,718 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.cs s" 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 6595
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.cs s" 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>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t Table Line 1</td></tr>
<tr><td>Inser t 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
3355
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 conn|loginame|dbname|cum_cpu|cum_io|cum_mem|last_batch ------------------------------------------------------------ 80 |farmds_w|Farm_R|4311 |88 |5305 |11/15/2004 11:30 80 |abcdes_w|efgh_R|5000 |88 |4000 |11/15/2004 12:30 45 |dcp_webu|DCP |5967 |75 |669 |11/16/2004...
1
2751
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 complex FO that contains nested tables. There are a few places where my breaks are not being rendered, although other ones work fine. I've made an FO that can reproduce this behavior. It is: <?xml version="1.0" encoding="UTF-8"?>
2
945
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 datagrid. HTML Datagrid1 TemplateColumn Table Header information Detail Information
1
5451
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 was done, I am reloading the data back into the table using IBM load utility. I changed the load card from VARCHAR to INTEGER and loaded the table. After loading, I could find that the data was not correct in the table. The tape has a value of...
4
3097
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 label, a radiobuttonlist, etc. I'm driving myself insane trying to figure out how to get
1
2078
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 that exists in both tables and 2nd relation (Order_Product_Rel) links and using ProductID field. I set the nested property of the relations to True so that the output will be nested. I then use WriteXML to output the dataset to a StreamWriter.
3
2202
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 I've consulted advise using junction tables. What I'm trying to do is use one populated table (employee names) to interface with several other tables for different reports. The one that's giving me the most trouble is one in which I'm trying to...
0
1174
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 = "server=*****;database=****;UID=*****;PWD=*****" ### setup SQL command $cmd = new-object System.Data.SqlClient.SqlCommand ### Get SQL commands from text file
0
9595
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10232
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8891
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3974
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2822
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.