Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

Creating two column tables

I am working on creating a webpage and I want to have a two-column table on the page. I know a little bit about creating tables, so I first tried the code on my own and could not get the results I wanted. The page is hosted at geocities, so I used the GeoCities table creation wizard and still did not get the results I wanted. What I am trying to do is get rid of the big space on the left column and I am trying to the right column to align to the top. I have experiemented by changing the table width, but it still doesn't work. What am I doing wrong? The page URL is www.geocities.com/c_brookhart/goodbyemailbox/tabletest.html
0
cbrookhart
Asked:
cbrookhart
  • 4
  • 3
  • 2
  • +1
1 Solution
 
knightEknightCommented:
try putting this in your <TR> tags:

<TR valign='top'>
0
 
knightEknightCommented:
also, it looks like you have an extra </tr> tag in the middle, where you don't want/need it.
0
 
cbrookhartAuthor Commented:
the valign='top' worked when I put it in the TR tag. What can I do to get the second column to move up so that is aligned with the first column and how can I get the first two lines in the second column to have more space? The changes I made are now saved in a new table. It is the same address as before except the html file is now tabletest2.html
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
cbrookhartAuthor Commented:
I fixed the spacing problem, so the only thing left to fix is making the two columns line up.
0
 
COBOLdinosaurCommented:
The problem with the alignment is that you have a line of text stuck in between
the table tage and the tbody tag:
This: <B>Nothing Good Can Last...</B>
has to be in the cell.  Just add a break to get the additional spacing:

<TD><B>Nothing Good Can Last...</B> <br><BR>2..3..4.. <BR>  etc...

Cd&
0
 
cbrookhartAuthor Commented:
I was able to get the table fixed. Thanks for the help.
0
 
knightEknightCommented:
Glad we could help!  I recommend that you split the points between us ...
0
 
cbrookhartAuthor Commented:
I am splitting the points between both of you. I am currently waiting for one of the experts in the help area to reduce the points so that the split can be done.
0
 
ComTechCommented:
Hello  cbrookhart I have reduced the amount of ponts to 25 for each, and have accepted COBOLdinosaur here at the question.

You need to create a new wuestion this Topic Area called Ponits for knightEknight add in 25 points, and when her accepts, you will recieve a notificaionl.

Regards,
ComTech
CS Admin @ EE
0
 
COBOLdinosaurCommented:
Glad we could help.  Thanks for the split. :^)

Cd&
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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