1

I am doing the history template in pset7. I had no trouble in the previous template but in this particular one <div id="bottom"> appears within <div id="middle">. That means the footer appears before the history table. I have checked the html several times and can not spot the problem. Thanks in advance!

enter image description here

<head>

    <link href="/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="/css/bootstrap-theme.min.css" rel="stylesheet"/>
    <link href="/css/styles.css" rel="stylesheet"/>

                <title>C$50 Finance: History</title>

    <script src="/js/jquery-1.11.1.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/scripts.js"></script>

</head>

<body>

    <div class="container">

        <div id="top">
            <a href="/"><img alt="C$50 Finance" src="/img/bullbear.jpg"/></a>
        </div>

        <div id="middle">



<table class="table table-striped" style="width:60%;  margin-left:20%; margin-right:20%">

<thead>

<tr>

    <th style="text-align:center"> Operation </th>

    <th style="text-align:center"> Symbol </th>

    <th style="text-align:center"> Shares </th>

</tr>

</thead>



<tbody>



    <tr>

        <td style="text-align:center">BUY</td>

        <td style="text-align:center">PME</td>

        <td style="text-align:center">10</td>

    </tr>



    <tr>

        <td style="text-align:center">BUY</td>

        <td style="text-align:center">ZU</td>

        <td style="text-align:center">12</td>

    </tr>



    <tr>

        <td style="text-align:center">SELL</td>

        <td style="text-align:center">FREE</td>

        <td style="text-align:center">1000</td>

    </tr>



    <tr>

        <td style="text-align:center">SELL</td>

        <td style="text-align:center">ZU</td>

        <td style="text-align:center">22</td>

    </tr>



        </div>

        <div id="bottom">
            Inventando una firma
        </div>

    </div>

</body>
0

Neither your table tag, nor your tbody tag is closed. Closing both should fix the problem.

1
  • 1
    thanks!!! I was looking at the divs opening and closing for the problem and it was instead in the table tags.
    – Federico
    Feb 19 '15 at 2:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .