So how many elections did we have last year? Seems like at least a dozen, though it was probably only about half that. For the bigger elections, like the primaries and the November general election, the Rome News-Tribune had full results pages to show vote totals as they came in. In the smaller elections, though, I just made a simple HTML table that the numbers could easily be inserted into. Here’s an example of the HTML for one of those tables.

What it looks like:

xx of xx precincts reporting
Office 1
Candidate 1 xx
Candidate 2 xx
Candidate 3 xx
Candidate 4 xx
Office 2
Candidate 2 xx
Candidate 3 xx
Candidate 4 xx

Your form will look a little different because of the styles on this page, but it’s pretty much what you see above. And now for the code:

<table style=”border-collapse: collapse;” border=”1″ cellpadding=”5″ width=”300″ bgcolor=”#ffffff” >

<tbody><tr>
<th colspan=”2″><font color=”#000000″>xx of xx precincts reporting</font></th>
</tr>

<tr>
<th bgcolor=”#dddddd” colspan=”2″><font color=”#000000″>Office 1</font></th>
</tr>

<tr>
<td width=”240″><font color=”#000000″>Candidate 1</font></td>
<td width=”60″><font color=”#000000″>xx</font></td>
</tr>

<tr>
<td><font color=”#ff0000″>Candidate 2</font></td>
<td><font color=”#ff0000″>xx</font></td>
</tr>

<tr>
<td><font color=”#000000″>Candidate 3</font></td>
<td><font color=”#000000″>xx</font></td>
</tr>

<tr>
<td><font color=”#000000″>Candidate 4</font></td>
<td><font color=”#000000″>xx</font></td>
</tr>

<tr>
<th colspan=”2″ bgcolor=”#dddddd” width=”300″><font color=”#000000″>Office 2</font></th>
</tr>

<tr>
<td><font color=”#000000″>Candidate 2</font></td>
<td><font color=”#000000″>xx</font></td>
</tr>

<tr>
<td><font color=”#000000″>Candidate 3</font></td>
<td><font color=”#000000″>xx</font></td>
</tr>

<tr>
<td><font color=”#ff0000″>Candidate 4</font></td>
<td><font color=”#ff0000″>xx</font></td>
</tr>

</tbody></table>

Obviously, this can be used for any table you need, and to make more categories, just copy and paste.