• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 92
  • Last Modified:

HTML Table Madness

See attached, you can offload it & run in any browser.

Why doesn't the word "Nathan" align under the title "Tech".

I am aware that HTML tables are a "no-no" in the "modern age", but they should still work.

This is a result of paring down the actual problem to the "simplest case" HTML.
simplest-case.htm
0
Richard Korts
Asked:
Richard Korts
  • 4
  • 4
  • 2
1 Solution
 
Tom BeckCommented:
You have made the table cell holding "Nathan" the second cell in the row. It will align with the second cell of the top row which is empty. "Tech" is in the third cell.
0
 
Dave BaldwinFixer of ProblemsCommented:
This line is missing a '/' in the ending <td>.
<td align="left" width="12%"><b>Prior Labor</b></td>

Open in new window

0
 
Richard KortsAuthor Commented:
I made an adjustment & added another (blank) column in the 2nd row. It now matches perfectly.

See attached.

Header row has 10 columns, data row 11. And they match PERFECTLY.

Crazy!
simplest-case1.htm
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Richard KortsAuthor Commented:
I looked at it 100 times and I NEVER saw that; fixed it & it's perfect.

In most cases like this, a 2nd set of eyes.....................

I spent over 2 hours & didn't see it.

Thanks!
0
 
Tom BeckCommented:
Dave was absolutely right on this, I was wrong. It was the missing / in the closing td that was causing a new td to be added to the first row.
0
 
Dave BaldwinFixer of ProblemsCommented:
???  What are you talking about?  Your second example above is still wrong, it has <td> instead of </td> at the end of that line.
0
 
Richard KortsAuthor Commented:
Dave, I posted the 2nd example BEFORE I saw your response.
0
 
Dave BaldwinFixer of ProblemsCommented:
Since Tom agrees that my answer is the correct one, you should use it and re-open the question and give me some points.
0
 
Richard KortsAuthor Commented:
I requested attention & said I accidentally awarded him, I meant to award you ALL the points. I asked them to change it.

How do I re-open the question?

Thanks
0
 
Dave BaldwinFixer of ProblemsCommented:
That should do it.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now