Solved

Problem with table cell spacing?

Posted on 2000-03-22
3
174 Views
Last Modified: 2010-04-09
<html>
<head>
<title></title>
</head>
<body>
<CENTER>
<TABLE border="1" cellPadding="1" cellSpacing="1" width="100%" >


<tr><td id="Metric_Type" rowspan="6">Financial</td></tr>
<td rowspan="3" >10 Objective<td>
<tr><td>Operating Income Growth</td></tr>
<tr><td>Earnings Per Share (EPS) Growth</td></tr>
<td rowspan="2" >8 Objective<td>
<tr><td>NOPAT/WC</td></tr>


</TABLE></CENTER>
</body>
</HTML>

There are three columns and the third column has a cell that is empty.  I'm trying to remove that cell cause when I display it the box dont line up due to the empty cell.  Any way of removing the empty cell on the 3rd column or resizing the others so as that the table looks right.  With the empty cell on the 3rd col makes it look wrong.
Thanks

0
Comment
Question by:eric07
3 Comments
 
LVL 1

Accepted Solution

by:
Hardaway earned 20 total points
Comment Utility
You could change the table to:

<table width="100%" border="1" cellspacing="1" cellpadding="1">
  <tr>
      <td rowspan="3">Financial</td>
      <td rowspan="2">10 Objective</td>
      <td>Operating Income Growth</td>
    </tr>
    <tr>
      <td>Earnings Per Share (EPS) Growth</td>
    </tr>
    <tr>
      <td>8 Objective</td>
      <td>NOPAT/WC</td>
    </tr>
  </table>
0
 

Expert Comment

by:qiang8
Comment Utility
<html>
<head>
<title></title>
</head>
<body>
<CENTER>
<TABLE border="1" cellPadding="1" cellSpacing="1" width="100%" >

<tr><td id="Metric_Type" rowspan="6">Financial</td></tr>
<td rowspan="3" >10 Objective</td>

I modified this line and It looks OK.

<td>Operating Income Growth</td>
<tr><td>Earnings Per Share (EPS) Growth</td></tr>
<td rowspan="2" >8 Objective<td>
<tr><td>NOPAT/WC</td></tr>

</TABLE></CENTER>
</body>
</HTML>


Good Luck.
0
 

Author Comment

by:eric07
Comment Utility
Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now