diff --git a/templates/base.html b/templates/base.html
index 007e61e..cba8daf 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -20,24 +20,22 @@
{{ columNames }}
- {% set count = start+1 %}
{% for player in playerList %}
- {% if count % 2 == 0 %}
+ {% if loop.index % 2 == 0 %}
{{ player.getLineHTML(count) }}
+ class=line-even>{{ player.getLineHTML(loop.index) }}
{% else %}
{{ player.getLineHTML(count) }}
+ class=line-odd>{{ player.getLineHTML(loop.index) }}
{% endif %}
- {% set count = count + 1 %}
{% endfor %}
{{ endOfBoardIndicator }}