...

View Full Version : Table column tag miscount?????



E-Liam
11-29-2010, 07:29 PM
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. :confused:


<!--#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

VIPStephan
11-30-2010, 12:01 AM
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?



| 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.

E-Liam
11-30-2010, 12:24 AM
Hi Stephan,

you are a gentleman and a scholar.. :) :thumbsup:

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

Cheers

Liam



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum