Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-29-2010, 07:29 PM   PM User | #1
E-Liam
New Coder

 
Join Date: Aug 2005
Posts: 54
Thanks: 3
Thanked 0 Times in 0 Posts
E-Liam is an unknown quantity at this point
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
E-Liam is offline   Reply With Quote
Old 11-30-2010, 12:01 AM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,615
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Users who have thanked VIPStephan for this post:
E-Liam (11-30-2010)
Old 11-30-2010, 12:24 AM   PM User | #3
E-Liam
New Coder

 
Join Date: Aug 2005
Posts: 54
Thanks: 3
Thanked 0 Times in 0 Posts
E-Liam is an unknown quantity at this point
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
E-Liam is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:19 AM.


Advertisement
Log in to turn off these ads.