www.webdeveloper.com
Results 1 to 5 of 5

Thread: Canceling a superscript in a table.

  1. #1
    Join Date
    Sep 2008
    Location
    Jackson MS
    Posts
    373

    Question Canceling a superscript in a table.

    In the following code snippet:
    Code:
    html>
    <head>
    <title>Calculating Loan Payments</title>
    </head>
    <body>
    <center><h1>Calculating Loan Payments</h1></center>
    <center><table style="font-size: 20px;">
    <tr><td>1) </td><td><b>F</b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= </td><td></td><td>A * (1 + i)<sup>n - 1</sup></td><td>+A * (1 + i)<sup>n - 2</sup></td><td> + . . . . </td>
       <td>+A * (1 + i)<sup>2</sup></td><td>+A * (1 + i)<sup>1</sup></td><td>+A</td></tr>
    </table></center><br>
    </body></html>
    each term in the equation has a smaller superscript (exponent) except for the last one which as a value of simply +A. However, it looks like it is part of the exponent for the next to last term.

    What did I miss?

    TIA

  2. #2
    Join Date
    Oct 2013
    Posts
    381
    Try this:
    Code:
    <tr valign="bottom"><td>1) </td><td><b>F</b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= </td><td></td><td>A * (1 + i)<sup>n - 1</sup></td><td>+A * (1 + i)<sup>n - 2</sup></td><td> + . . . . </td>
       <td>+A * (1 + i)<sup>2</sup></td><td>+A * (1 + i)<sup>1</sup></td><td>+A</td></tr>

  3. #3
    Join Date
    Sep 2008
    Location
    Jackson MS
    Posts
    373
    Many thanks! The whole (new) page is InterestTheory.html.

  4. #4
    Join Date
    Oct 2013
    Posts
    381
    I was wondering why the formula was in a table. Now I understand.

  5. #5
    Join Date
    Sep 2008
    Location
    Jackson MS
    Posts
    373
    If I were a teacher I'd probably have access to better ways to display formulas like that, but just saving room for the (new) first term after the equal sign was tricky enough.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles