Solved

Problem with table cell spacing?

Posted on 2000-03-22
3
209 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
[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
3 Comments
 
LVL 1

Accepted Solution

by:
Hardaway earned 20 total points
ID: 2647360
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
ID: 2647399
<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
ID: 2655137
Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

717 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