From b5dcd4d5f9727c19d12ee424f1e6a3a02a5cfcce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 10 Jan 2021 17:05:52 +0200 Subject: [PATCH] Center pieces on the squares --- takhta.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/takhta.html b/takhta.html index 68b0a97..810797c 100644 --- a/takhta.html +++ b/takhta.html @@ -11,6 +11,11 @@ td { font-size: 200%; } + td div { + display: table-cell; + text-align: center; + vertical-align: middle; + } #board tbody :nth-child(odd) :nth-child(even) { background-color: #fff; }