Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2005
    Posts
    54
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Table column tag miscount?????

    Hi all,

    a really stupid one this..

    http://www.liamsworld.org.uk/bfcgs/EEAllanA.shtml

    I've got that column at the end of the table (which I don't want) .. and I can't for the life of me see where I've miscounted ths or tds.. got sore eyes from it now.

    Code:
    <!--#include file="header.htm"-->
    
    <div id="content">
    <p class="pixelspacer">.</p>
    <span class="pagetitle">Alex Allan</span>
    <br />
    <span class="pagetitlesub">Eclectic Score Card</span>
    
    
    <table class="eclectic">
    <tr>
    <th>Hole</th><th>Apr-2011</th><th>May 2011</th><th>Jun 2011</th><th>Jul 2011</th><th>Aug 2011</th><td class="" rowspan="19"></td><th>Best</th>
    </tr><tr>
    <th>1</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>2</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>3</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>4</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>5</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>6</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>7</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>8</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>9</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>10</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>11</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>12</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>13</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>14</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>15</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>16</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>17</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>18</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>Gross</th> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
    </tr><tr>
    <th>H'Cap</th> <th></th> <th></th> <th></th> <th></th> <th></th> <th>Half Lowest</th> <th></th>
    </tr><tr>
    <td class="" colspan="8">k</td>
    </tr><tr>
    <td class="" colspan="5">k</td>
    <th colspan="2">Eclectic Score</th><th></th>
    </tr>
    </table>
    BTW, the page validates (except for a couple of lines of css for something else)

    Cheers

    Liam

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,636
    Thanks
    6
    Thanked 1,003 Times in 976 Posts
    You have eight cells in the topmost row with one cell spanning over 19 rows. This means you must remove the respective cells in the other 18 rows so that there are only seven remaining cells because the cell from row one already represents the eighth item in each row. Capiche?

    Code:
    | 1.1 | 1.2 | 1.3 | 1.4 |   // four cells, one with rowspan
    -------------     -------
    | 2.1 | 2.2 |     | 2.4 |   // three cells
    -------------     -------
    | 3.1 | 3.2 |     | 3.4 |   // three cells, etc.

  • Users who have thanked VIPStephan for this post:

    E-Liam (11-30-2010)

  • #3
    New Coder
    Join Date
    Aug 2005
    Posts
    54
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hi Stephan,

    you are a gentleman and a scholar..

    I even went out and came back an hour later, and couldn't see my mistake.

    Cheers

    Liam


  •  

    Posting Permissions

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