From 7852212a4e85cb9912814d08b38cd12cce43586a Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Fri, 18 Feb 2022 10:04:28 -0500 Subject: [PATCH] centered the selectors --- scripts/stats.php | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/scripts/stats.php b/scripts/stats.php index 98cd4a5..838696a 100644 --- a/scripts/stats.php +++ b/scripts/stats.php @@ -93,7 +93,7 @@ input[type=number] { width: calc(50% - 70px); } .second { - width: calc(50% - 30px); + width: 50%; } . /* Clear floats after the columns */ @@ -112,6 +112,8 @@ a { .block { display: block; width:50%; + margin-right:auto; + margin-left:auto; border: none; padding: 10px 10px; font-size: medium; @@ -130,13 +132,18 @@ img { margin-right: auto; } -select { +select option { + text-align:center; font-size:large; - width: 60%; } -select option { +select { + display:block; + width:80%; + margin-right:auto; + margin-left:auto; font-size:large; + width: 60%; } form { @@ -210,8 +217,8 @@ while($rows=$stats ->fetch_assoc()) ?> -
-
+
+

Species Stats