Child Table Cell allignment dependent on Parent Table?

J

John Kotuby

Hi all,
First let me make it clear that I don't have much experience with Frontpage
or web development in general. I prefer to work directly with the source
code in a text editor if I must make modifications to existing code.
I am working with an inherited Visual Interdev project from 2004. The page
layout consists mainly of 2 nested Tables. I am trying to add a new Cell to
the Parent table as a container for links. However, when the cell is added
to a row in the Parent table, all the cells in the Child table are moved to
the left by the width of the newly added cell in the Parent table. Is there
an easy way to accomplish what I need done without having the majority of
the page become misaligned?

I noticed that some of the Child cells had collspan="2". Does that attribute
relate to the cells in the Parent table?

TIA
 
M

Murray

I noticed that some of the Child cells had collspan="2". Does that
attribute relate to the cells in the Parent table?

No.

It sounds to me from your symptoms that the table code itself is mangled.
Finding the mistake is tedious, but you must go through every row of both
tables to make sure that each one is consistent with the table's structure.
In other words, if the first row has 7 total cells (including colspans),
then each row of that table must have 7 cells (or 7 cells worth of markup).

Col- and rowspans must be used sparingly when building tables, as you may
know. They are a slippery slope to table fragility....
 
J

John Kotuby

Thanks Murray,

You were correct about the mangled code. Your explanation of the Colspan
property helped me to get my "ducks in a row".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top