[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

Problem with table cell spacing?

<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
eric07
Asked:
eric07
1 Solution
 
HardawayCommented:
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
 
qiang8Commented:
<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
 
eric07Author Commented:
Thanks
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now