Solved

Problem with table cell spacing?

Posted on 2000-03-22
3
191 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

778 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