Forum Home

Master Index of Archived Threads


HTML Tables

SteveJRogers
Apr 14 2008 06:50 PM

What am I doing wrong with this HTML code?

<table style="text-align: left; width: 528px; height: 300px;" border="1"
cellpadding="2" cellspacing="2">
<tr>
<td
style="vertical-align: top; font-weight: bold; background-color: rgb(255, 153, 0);">Date<br>
</td>
<td
style="vertical-align: top; font-weight: bold; background-color: rgb(255, 153, 0);">Opponent<br>
</td>
<td
style="vertical-align: top; font-weight: bold; background-color: rgb(255, 153, 0);">Number
Removed<br>
</td>
<td
style="vertical-align: top; font-weight: bold; background-color: rgb(255, 153, 0);">Remover<br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">4/8<br>
</td>
<td style="vertical-align: top;">Phillies<br>
</td>
<td style="vertical-align: top;">Start of The Countdown<br>
</td>
<td style="vertical-align: top;">Family of William A. Shea<br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">4/9<br>
</td>
<td style="vertical-align: top;">Phillies<br>
</td>
<td style="vertical-align: top;">81<br>
</td>
<td style="vertical-align: top;"><span class="postbody">Mr. Met,
who actually made his live debut at Shea in 1964</span></td>
</tr>
<tr>
<td style="vertical-align: top;">4/10<br>
</td>
<td style="vertical-align: top;">Phillies<br>
</td>
<td style="vertical-align: top;">80<br>
</td>
<td style="vertical-align: top;"><span class="postbody">Peter
Spina and Kenneth Toscano from Lincoln Mercury, who are sponsors of the
Countdown</span></td>
</tr>
<tr>
<td style="vertical-align: top;">4/11<br>
</td>
<td style="vertical-align: top;">Brewers<br>
</td>
<td style="vertical-align: top;">79<br>
</td>
<td style="vertical-align: top;">Members of the Mets Fan Club For
Kids<br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">4/12<br>
</td>
<td style="vertical-align: top;">Brewers<br>
</td>
<td style="vertical-align: top;">78<br>
</td>
<td style="vertical-align: top;">Some Suit from Citi Corp<br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">4/13<br>
</td>
<td style="vertical-align: top;">Brewers<br>
</td>
<td style="vertical-align: top;">77<br>
</td>
<td style="vertical-align: top;"><span class="postbody">Hosts of
SNY's Kids Clubhouse, Gabe Cohen &amp; Caitlin Fichtel</span></td>
</tr>
</table>

SteveJRogers
Apr 14 2008 06:51 PM

Because it comes out with all this space before the table:












































Date

Opponent

Number
Removed

Remover

4/8

Phillies

Start of The Countdown

Family of William A. Shea

4/9

Phillies

81

Mr. Met,
who actually made his live debut at Shea in 1964
4/10

Phillies

80

Peter
Spina and Kenneth Toscano from Lincoln Mercury, who are sponsors of the
Countdown
4/11

Brewers

79

Members of the Mets Fan Club For
Kids

4/12

Brewers

78

Some Suit from Citi Corp

4/13

Brewers

77

Hosts of
SNY's Kids Clubhouse, Gabe Cohen &amp; Caitlin Fichtel

seawolf17
Apr 14 2008 07:44 PM

You have to write it as one long paragraph, without the line breaks in the code. Much more tedious to look at it, but it comes out correctly.