Table aren't created and displayed consistantly

D

DocBrown

I'm creating some simple 2 column by multi-row tables. No borders, auto scale
width to contents. After I created them, the behavior is not consistant. In
the first, there is a relative large space to the right of the text in a
cell, say 10 characters, on the second table, there's no space. I checked all
the Table Pproperties and Cell Properties I can find, and looked at the HTML
code.

I'll be darned if I can figure out why the difference in behavior is occuring.

I'm usually pretty good and beating FrontPage into submission and getting it
to do what I want. (Within my relative knowledge what it can do.) But I can't
find what's causing this.

It appears there's some properties I'm not aware of. The page is based on a
corproate standard that uses CSS and other predefined elements Java and other
peaces. The basic page layout is also based on tables so these tables are
nested within a cell of larger table. So maybe one of those is involved.

Any ideas where to start looking?

Here's the table definition:

<blockquote>
<table border="1" width="95%" id="table30" style="border-collapse: collapse">
<tr>
<td valign="top">
<p>
<u>SR Number</u></p>
</td>
<td valign="top">
<p><u> Problem Description</u></p>
/td>
</tr>
<tr>
<td valign="top">
<p>00000000 8606424819 -</p>
</td>
<td valign="top">
<p>arp -an command may display no entry for some IP addresses.</p>
</td>
</tr>
</table>
</blockquote>

The second table header is almost identical:

<blockquote>
<table border="1" width="95%" id="table31" style="border-collapse: collapse">
<tr>
<td valign="top">
<p>
<u>SR Number</u></p>
</td>
<td valign="top">
<p>
<u>Problem Description</u></p>
</td>
</tr>

Thanks a bunch.
 
R

Ronx

Since you have not defined any width for the columns, they will determine
their width based on the content of the cells. A column containing a cell
with high content will demand more width than other columns.
In the snippets you have given,
the column containing
<td valign="top">
<p>arp -an command may display no entry for some IP addresses.</p>
</td>
will be much wider than the other column.

It is difficult to say anything about the second table, since it is
incomplete, but the column width is based on the whole table, not just the
first row.
 
D

DocBrown

Looks like I figured out what was happening. The columns were autoscaling
differently due to the different contents in the two tables. (Just as I
specified. *grin*) I trying to set the left column width to fit to contents
without wrapping.
 

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