Solved

Creating two column tables

Posted on 2002-06-22
10
177 Views
Last Modified: 2010-04-09
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
Comment
Question by:cbrookhart
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 7100962
try putting this in your <TR> tags:

<TR valign='top'>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 7100963
also, it looks like you have an extra </tr> tag in the middle, where you don't want/need it.
0
 

Author Comment

by:cbrookhart
ID: 7100982
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
Technology Partners: 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!

 

Author Comment

by:cbrookhart
ID: 7100983
I fixed the spacing problem, so the only thing left to fix is making the two columns line up.
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 25 total points
ID: 7100997
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
 

Author Comment

by:cbrookhart
ID: 7101963
I was able to get the table fixed. Thanks for the help.
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 7103667
Glad we could help!  I recommend that you split the points between us ...
0
 

Author Comment

by:cbrookhart
ID: 7103845
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
 

Expert Comment

by:ComTech
ID: 7103890
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7103954
Glad we could help.  Thanks for the split. :^)

Cd&
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question